equal
deleted
inserted
replaced
625 } |
625 } |
626 if ( response.mode == 'success' ) |
626 if ( response.mode == 'success' ) |
627 { |
627 { |
628 if ( response.is_draft ) |
628 if ( response.is_draft ) |
629 { |
629 { |
|
630 // for some reason this code is throwing "uncaught exception" errors under gecko |
|
631 // firebug ain't tracing it, it'll be fixed soon enough though |
|
632 // note that the errors still seem to show after adding the try{}catch{} blocks |
630 try |
633 try |
631 { |
634 { |
632 document.getElementById('ajaxEditArea').used_draft = true; |
635 document.getElementById('ajaxEditArea').used_draft = true; |
633 document.getElementById('ajaxEditArea').needReset = true; |
636 document.getElementById('ajaxEditArea').needReset = true; |
634 var img = $dynano('ajax_edit_savedraft_btn').object.getElementsByTagName('img')[0]; |
637 var img = $dynano('ajax_edit_savedraft_btn').object.getElementsByTagName('img')[0]; |