Fix mail "move to folder".Missing start index in substr function

This commit is contained in:
Hadi Nategh 2014-07-01 09:23:29 +00:00
parent 9562483697
commit 79f2554120

View File

@ -1612,8 +1612,8 @@ app.classes.mail = AppJS.extend(
that.mail_callCopy(_action, _elems,_target, rv);
break;
default:
if (_action.id.substr(5)=='move') that.mail_callMove(_action, _elems,_target, rv);
if (_action.id.substr(5)=='copy') that.mail_callCopy(_action, _elems,_target, rv);
if (_action.id.substr(0,4)=='move') that.mail_callMove(_action, _elems,_target, rv);
if (_action.id.substr(0,4)=='copy') that.mail_callCopy(_action, _elems,_target, rv);
}
},
messageToDisplay,