mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 19:05:25 +00:00
chore(npm): update md to v1.1.24
This commit is contained in:
Submodule UI/WebServerResources/angular-material updated: bf5aa3511e...9e56fcde72
@@ -457,6 +457,8 @@
|
||||
};
|
||||
|
||||
this.save = function (form, options) {
|
||||
this.adjustStartTime();
|
||||
this.adjustEndTime();
|
||||
this.changeAlarmRelation(form);
|
||||
if (form.$valid) {
|
||||
this.component.$save(options)
|
||||
@@ -581,12 +583,17 @@
|
||||
this.adjustEndTime = function () {
|
||||
var delta;
|
||||
if (this.component.end && this.endTime) {
|
||||
// Update the component start date
|
||||
// Update the component end date
|
||||
this.component.end.setHours(this.endTime.getHours());
|
||||
this.component.end.setMinutes(this.endTime.getMinutes());
|
||||
// The end date must be after the start date
|
||||
delta = oldEndDate.valueOf() - this.component.end.valueOf();
|
||||
if (delta !== 0) {
|
||||
if (this.startTime) {
|
||||
// Update the component start date
|
||||
this.component.start.setHours(this.startTime.getHours());
|
||||
this.component.start.setMinutes(this.startTime.getMinutes());
|
||||
}
|
||||
delta = this.component.start.minutesTo(this.component.end);
|
||||
if (delta < 0) {
|
||||
this.component.end = new Date(oldEndDate.getTime());
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"angular-aria": "^1.8.0",
|
||||
"angular-cookies": "^1.8.0",
|
||||
"angular-file-upload": "^2.6.0",
|
||||
"angular-material": "1.1.22",
|
||||
"angular-material": "1.1.24",
|
||||
"angular-messages": "^1.8.0",
|
||||
"angular-sanitize": "^1.8.0",
|
||||
"angular-ui-router": "^1.0.26",
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
/*! input/_extends.scss - */
|
||||
@import '../../../angular-material/src/components/input/input.scss';
|
||||
@import '../../../angular-material/src/components/input/input-variables.scss';
|
||||
@import '../../../angular-material/src/components/input/input.scss';
|
||||
|
||||
Reference in New Issue
Block a user