small rename modal_update
authorymh <ymh.work@gmail.com>
Wed, 02 Mar 2011 15:47:19 +0100
branchmodal_update
changeset 33 3dd37cc8d8b3
parent 32 7bb37c869d0d
child 34 7cff07b61d13
small rename
web/static/ldt/js/projectscontents.js
--- a/web/static/ldt/js/projectscontents.js	Wed Mar 02 15:31:44 2011 +0100
+++ b/web/static/ldt/js/projectscontents.js	Wed Mar 02 15:47:19 2011 +0100
@@ -70,7 +70,7 @@
 
 };
 
-function testAndClose(old_close) {
+function testAndClose(close_fn) {
 	
 	return function(force) {
 	    // Here we ask LDT if the current work is modified and if the user want to save it.
@@ -80,7 +80,7 @@
 	        ldtSwf.askSave();
 	    }
 	    else {
-	    	old_close.apply(this);
+	    	close_fn.apply(this);
 	    }
 	};
 }