web/static/ldt/js/projectscontents.js
branchmodal_update
changeset 33 3dd37cc8d8b3
parent 32 7bb37c869d0d
child 37 3586af4092f3
--- 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);
 	    }
 	};
 }