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); } }; }