includes/clientside/static/editor.js
changeset 650 e45183014778
parent 622 734af34cd7ad
child 651 ce9d78d7251d
equal deleted inserted replaced
649:74e03196fd43 650:e45183014778
   532   if ( is_draft )
   532   if ( is_draft )
   533   {
   533   {
   534     // ajaxSetEditorLoading();
   534     // ajaxSetEditorLoading();
   535     var img = $dynano('ajax_edit_savedraft_btn').object.getElementsByTagName('img')[0];
   535     var img = $dynano('ajax_edit_savedraft_btn').object.getElementsByTagName('img')[0];
   536     var lbl = $dynano('ajax_edit_savedraft_btn').object.getElementsByTagName('span')[0];
   536     var lbl = $dynano('ajax_edit_savedraft_btn').object.getElementsByTagName('span')[0];
   537     img.src = scriptPath + '/images/loading.gif';
   537     img.src = cdnPath + '/images/loading.gif';
   538     var d = new Date();
   538     var d = new Date();
   539     var m = String(d.getMinutes());
   539     var m = String(d.getMinutes());
   540     if ( m.length < 2 )
   540     if ( m.length < 2 )
   541       m = '0' + m;
   541       m = '0' + m;
   542     var time = d.getHours() + ':' + m;
   542     var time = d.getHours() + ':' + m;