Set default priority toolbar action to normal in compose dialog

This commit is contained in:
Hadi Nategh 2015-01-09 10:54:53 +00:00
parent 13af54802f
commit bd56119d38

View File

@ -4241,7 +4241,7 @@ app.classes.mail = AppJS.extend(
}
else if (action_event && toolbar.options)
{
var regex = new RegExp(toolbar.options.actions[action_event.id]['value'],'ig');
var regex = new RegExp(toolbar.options.actions[action_event.id]['value']||'normal','ig');
jQuery(widget.options.select_options).each(function(_i,_a){
if (_a.label.match(regex))