fix substr typo (copy n paste error)

This commit is contained in:
Klaus Leithoff 2014-07-01 12:09:10 +00:00
parent 9dd173288b
commit 872b18a631

View File

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