From f6a44910b223fb2e3068e115da39e48de2be9577 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 8 Nov 2010 11:15:04 +0000 Subject: [PATCH] fixing scope problem for prefAskForMove --- felamimail/js/jscode/viewMainScreen.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/felamimail/js/jscode/viewMainScreen.js b/felamimail/js/jscode/viewMainScreen.js index f8ca93c75d..291e27bd92 100644 --- a/felamimail/js/jscode/viewMainScreen.js +++ b/felamimail/js/jscode/viewMainScreen.js @@ -1,3 +1,6 @@ +if (typeof CopyOrMove == 'undefined') var CopyOrMove = window.CopyOrMove; +if (typeof prefAskForMove == 'undefined') var prefAskForMove = window.prefAskForMove; + function parentRefreshListRowStyle(oldID, newID) { var trElement; @@ -175,6 +178,7 @@ function callNodeSelect(_nodeIDfc, mode) { function onNodeSelect(_nodeID) { //alert(_nodeID) if (typeof CopyOrMove == 'undefined') CopyOrMove = window.CopyOrMove; + if (typeof prefAskForMove == 'undefined') prefAskForMove = window.prefAskForMove; var Check = CopyOrMove; var actionPending = false; if(top.tree.getUserData(_nodeID, 'folderName')) {