# HG changeset patch # User ymh # Date 1299077239 -3600 # Node ID 3dd37cc8d8b353b2af5b3414d3e2269e7379ecf1 # Parent 7bb37c869d0d7cae8de2f6a6797d689a90c98424 small rename diff -r 7bb37c869d0d -r 3dd37cc8d8b3 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); } }; }