tests for datetimefield

This commit is contained in:
vitalets
2013-04-02 13:36:18 +04:00
parent b0684d0174
commit 2778630c7b
5 changed files with 17 additions and 7 deletions

@ -195,6 +195,11 @@
type = 'combodate';
}
}
//`datetime` should be datetimefield in 'inline' mode
if(type === 'datetime' && options.mode === 'inline') {
type = 'datetimefield';
}
//change wysihtml5 to textarea for jquery UI and plain versions
if(type === 'wysihtml5' && !$.fn.editabletypes[type]) {