Update grid column width in finance manager and modify date input handling in operation edit template
This commit is contained in:
@@ -138,8 +138,8 @@ THE SOFTWARE.
|
||||
}).get(0) ||
|
||||
'body';
|
||||
|
||||
picker.widget = $(getTemplate());
|
||||
if (picker.options.inline) {
|
||||
picker.widget = $(getTemplate());
|
||||
if (picker.options.inline) {
|
||||
picker.widget.appendTo(picker.element);
|
||||
} else {
|
||||
picker.widget.appendTo(picker.options.widgetParent);
|
||||
@@ -196,7 +196,7 @@ THE SOFTWARE.
|
||||
if((!picker.options.inline && getPickerInput().val() == '') || (picker.options.inline)) {
|
||||
picker.setValue(picker.options.defaultDate);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (picker.options.minuteStepping !== 1) {
|
||||
rInterval = picker.options.minuteStepping;
|
||||
picker.date.minutes((Math.round(picker.date.minutes() / rInterval) * rInterval) % 60).seconds(0);
|
||||
@@ -380,11 +380,11 @@ THE SOFTWARE.
|
||||
picker.element.change();
|
||||
}
|
||||
},
|
||||
notifySelected = function (date) {
|
||||
notifySelected = function (date) {
|
||||
picker.element.trigger({
|
||||
type: 'dp.selected',
|
||||
date: moment(picker.date)
|
||||
});
|
||||
});
|
||||
},
|
||||
notifyError = function (date) {
|
||||
errored = true;
|
||||
|
||||
Reference in New Issue
Block a user