Index: branches/5.2.x/core/admin_templates/categories/edit_content.tpl
===================================================================
diff -u -N -r15042 -r15051
--- branches/5.2.x/core/admin_templates/categories/edit_content.tpl (.../edit_content.tpl) (revision 15042)
+++ branches/5.2.x/core/admin_templates/categories/edit_content.tpl (.../edit_content.tpl) (revision 15051)
@@ -73,32 +73,34 @@
}
);
- setInterval(
- function () {
- var $editor_instance = CKEDITOR.instances[ '' ];
- $('#' + jq('')).val( $editor_instance.getData() );
+
+ setInterval(
+ function () {
+ var $editor_instance = CKEDITOR.instances[ '' ];
+ $('#' + jq('')).val( $editor_instance.getData() );
- submit_event_ajax(
- 'content', 'OnAutoSave', undefined,
- function ($autosave_string) {
- $('#blue_bar').html( $autosave_title.replace('%s', $autosave_string) );
- }
- );
- }, * 1000
- );
-
- setInterval(
- function () {
- submit_event_ajax(
- 'content', 'OnGetAutoSaveTime', undefined,
- function ($autosave_string) {
- if ( $autosave_string ) {
+ submit_event_ajax(
+ 'content', 'OnAutoSave', undefined,
+ function ($autosave_string) {
$('#blue_bar').html( $autosave_title.replace('%s', $autosave_string) );
}
- }
- );
- }, * 1000
- );
+ );
+ }, * 1000
+ );
+
+ setInterval(
+ function () {
+ submit_event_ajax(
+ 'content', 'OnGetAutoSaveTime', undefined,
+ function ($autosave_string) {
+ if ( $autosave_string ) {
+ $('#blue_bar').html( $autosave_title.replace('%s', $autosave_string) );
+ }
+ }
+ );
+ }, * 1000
+ );
+
\ No newline at end of file