Browse Source

HUE-94. There is no indication that you've clicked the save button in the file editor

* The problem was that instances of Request were created on startup (Form.Request creates a request instance) and as a result the JFrame's loadedOnce value was evaluated before it was set.
Aaron Newton 15 years ago
parent
commit
eacad40cb6
1 changed files with 2 additions and 3 deletions
  1. 2 3
      desktop/core/static/js/Source/CCS/CCS.JFrame.js

+ 2 - 3
desktop/core/static/js/Source/CCS/CCS.JFrame.js

@@ -837,7 +837,7 @@ CCS.JFrame = new Class({
 			}
 			}
 		}
 		}
 
 
-
+		this.loadedOnce = true;
 		//fill the target
 		//fill the target
 		this.fill(target, content);
 		this.fill(target, content);
 
 
@@ -862,9 +862,8 @@ CCS.JFrame = new Class({
 		// Let observers know
 		// Let observers know
 		if (!options.suppressLoadComplete) this.fireEvent('loadComplete', data);
 		if (!options.suppressLoadComplete) this.fireEvent('loadComplete', data);
 		if (options.callback) options.callback(data);
 		if (options.callback) options.callback(data);
-		this.loadedOnce = true;
 	},
 	},
-	
+
 	_resetOverflow: function(target) {
 	_resetOverflow: function(target) {
 		//reset the overflow style for those filters which alter the content
 		//reset the overflow style for those filters which alter the content
 		//such as splitview, etc.:
 		//such as splitview, etc.: