Bug: Datepicker icon not showing on "Add Event" dialog.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
This commit is contained in:
parent
69e2d84b51
commit
c8da59c75a
14
js/rte.js
14
js/rte.js
@ -304,14 +304,20 @@ RTE.COMMON = {
|
||||
buttons: that.buttonOptions,
|
||||
title: data.title,
|
||||
modal: true,
|
||||
open: function () {
|
||||
$(this).find('input[name=item_name]').focus();
|
||||
$(this).find('input.datefield').each(function () {
|
||||
PMA_addDatepicker($(this).css('width', '95%'), 'date');
|
||||
});
|
||||
$(this).find('input.datetimefield').each(function () {
|
||||
PMA_addDatepicker($(this).css('width', '95%'), 'datetime');
|
||||
});
|
||||
$.datepicker.initialized = false;
|
||||
},
|
||||
close: function () {
|
||||
$(this).remove();
|
||||
}
|
||||
});
|
||||
that.$ajaxDialog.find('input[name=item_name]').focus();
|
||||
that.$ajaxDialog.find('input.datefield, input.datetimefield').each(function () {
|
||||
PMA_addDatepicker($(this).css('width', '95%'));
|
||||
});
|
||||
/**
|
||||
* @var mode Used to remeber whether the editor is in
|
||||
* "Edit" or "Add" mode
|
||||
|
||||
Loading…
Reference in New Issue
Block a user