comment unused code, which is causing scripterrors for IE8

This commit is contained in:
Klaus Leithoff 2012-11-07 14:54:59 +00:00
parent 99335ec62a
commit d03b73341b

View File

@ -580,8 +580,8 @@ function onNodeSelect(_nodeID) {
var Check = CopyOrMove; var Check = CopyOrMove;
var actionPending = false; var actionPending = false;
// var formData = new Array(); // var formData = new Array();
if(top.tree.getUserData(_nodeID, 'folderName')) { //- if(top.tree.getUserData(_nodeID, 'folderName')) {
if(CopyOrMoveCalled) { //- if(CopyOrMoveCalled) {
//alert('Called onNodeSelect'); //alert('Called onNodeSelect');
/* /*
if(document.getElementsByName("folderAction")[0].value == "moveMessage") { if(document.getElementsByName("folderAction")[0].value == "moveMessage") {
@ -636,7 +636,7 @@ function onNodeSelect(_nodeID) {
} }
*/ */
CopyOrMoveCalled = false; CopyOrMoveCalled = false;
} else { //- } else {
mail_resetMessageSelect(); mail_resetMessageSelect();
egw_appWindow('felamimail').setStatusMessage('<span style="font-weight: bold;">' + egw_appWindow('felamimail').lang_loading + ' ' + top.tree.getUserData(_nodeID, 'folderName') + '</span>'); egw_appWindow('felamimail').setStatusMessage('<span style="font-weight: bold;">' + egw_appWindow('felamimail').lang_loading + ' ' + top.tree.getUserData(_nodeID, 'folderName') + '</span>');
@ -644,8 +644,8 @@ function onNodeSelect(_nodeID) {
document.getElementById('divMessageList').innerHTML = ''; document.getElementById('divMessageList').innerHTML = '';
egw_appWindow('felamimail').xajax_doXMLHTTP("felamimail.ajaxfelamimail.updateMessageView",_nodeID); egw_appWindow('felamimail').xajax_doXMLHTTP("felamimail.ajaxfelamimail.updateMessageView",_nodeID);
egw_appWindow('felamimail').refreshFolderStatus(_nodeID); egw_appWindow('felamimail').refreshFolderStatus(_nodeID);
} //- }
} //- }
CopyOrMove = true; CopyOrMove = true;
} }