Skip to content
This repository was archived by the owner on Oct 11, 2018. It is now read-only.

Commit 1896e12

Browse files
authored
Merge pull request #277 from surajrav/master
Fix a bunch of stuff in the calendar tasks.
2 parents a0ebc76 + 2bdd6c0 commit 1896e12

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

ui/inspectors/calendar-task.reel/calendar-task.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ exports.CalendarTask = AbstractInspector.specialize({
8787
save: {
8888
value: function() {
8989
if (this.argsInspector && typeof this.argsInspector.save === 'function') {
90-
this.argsInspector.save();
90+
this.object.args = this.argsInspector.save();
9191
}
9292
this._sectionService.updateScheduleOnTask(this.object);
9393
var argsLength = this.object.args.length;

ui/inspectors/calendar-task.reel/replication-args.reel/replication-args.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ exports.ReplicationArgs = Component.specialize(/** @lends ReplicationArgs# */ {
6464
save: {
6565
value: function() {
6666
this.object[0] = this.sourceDataset.pathInput.value;
67+
return this.object;
6768
}
6869
},
6970

ui/inspectors/calendar-task.reel/rsync-args.reel/rsync-args.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
"label": "Preserve attributes"
211211
},
212212
"bindings": {
213-
"checked": {"<->": "@owner.object.0.rsync_properties.preserve_attributes"}
213+
"checked": {"<->": "@owner.object.0.rsync_properties.delay_updates"}
214214
}
215215
},
216216
"extra": {
@@ -220,7 +220,7 @@
220220
"label": "Extra arguments"
221221
},
222222
"bindings": {
223-
"value": {"<->": "@owner.object.0.rsync_properties.extra"}
223+
"value": {"<->": "@owner._extra"}
224224
}
225225
}
226226
}

ui/inspectors/calendar-task.reel/rsync-args.reel/rsync-args.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ exports.RsyncArgs = Component.specialize({
4848
this.object = [{rsync_properties: {}}];
4949
this.object.__type = this.type;
5050
}
51+
this._extra = this.object[0].rsync_properties.extra;
52+
}
53+
},
54+
55+
save: {
56+
value: function() {
57+
this.object[0].rsync_properties.extra = this._extra;
58+
return this.object;
5159
}
5260
}
5361
});

0 commit comments

Comments
 (0)