Fixes: #15623 Pull-request: #15631 Pull-request: #15632 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
ac9118d044
@ -112,6 +112,10 @@ $.ajaxPrefilter(function (options, originalOptions) {
|
||||
* @param {object} $thisElement a jQuery object pointing to the element
|
||||
*/
|
||||
Functions.addDatepicker = function ($thisElement, type, options) {
|
||||
if (type !== 'date' && type !== 'time' && type !== 'datetime' && type !== 'timestamp') {
|
||||
return;
|
||||
}
|
||||
|
||||
var showTimepicker = true;
|
||||
if (type === 'date') {
|
||||
showTimepicker = false;
|
||||
|
||||
@ -380,7 +380,7 @@ AJAX.registerOnload('table/select.js', function () {
|
||||
'<span class="small_font">' + max + '</span>' +
|
||||
'</fieldset>'
|
||||
).dialog({
|
||||
minWidth: 500,
|
||||
width: 'auto',
|
||||
maxHeight: 400,
|
||||
modal: true,
|
||||
buttons: buttonOptions,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user