fix test loader for wysihtml

This commit is contained in:
vitalets
2013-01-11 10:38:51 +04:00
parent 493cd63099
commit c2cda5dfb1
4 changed files with 16 additions and 8 deletions

@ -168,13 +168,18 @@
} else if($.fn.editabletypes.dateuifield) {
type = 'dateuifield';
}
//popup
//popup
} else {
if($.fn.editabletypes.date) {
type = 'date';
} else if($.fn.editabletypes.dateui) {
type = 'dateui';
}
}
//if type still `date` and not exist in types, replace with `combodate` that is base input
if(type === 'date' && !$.fn.editabletypes.date) {
type = 'combodate';
}
}