Commit b1cb8331 authored by David Trudgian's avatar David Trudgian

WIP NOT WORKING

parent 83f7f566
This diff is collapsed.
......@@ -5,6 +5,21 @@
App.IndexController = Ember.ObjectController.extend({
actions: {
removeRunCmd: function () {
var runCmd = this.get('model');
runCmd.deleteRecord();
runCmd.save();
},
},
partitions: function() {
return this.get('store').find('partition');
}.property(),
......@@ -33,7 +48,7 @@
timeLimitChanged: function () {
this.get('model').set('timeLimit', this.get('selectedDays') + '-' + this.get('selectedHours') + ':' + this.get('selectedMinutes') + ':00');
}.observes('selectedDays', 'selectedHours', 'selectedMinutes'),
}.observes('selectedDays', 'selectedHours', 'selectedMinutes' ),
memGB: null,
......
......@@ -32,7 +32,7 @@
return output;
}.property('runCmds')
}.property('runCmds.@each.cmdString')
})
......
......@@ -106,7 +106,8 @@
}.property('partition', 'nodes', 'mem','timeLimit','jobName', 'stderr', 'stdout', 'mailType','mailUser','nTasksPerNode')
}.property('partition', 'nodes', 'mem','timeLimit','jobName', 'stderr', 'stdout', 'mailType','mailUser','nTasksPerNode', 'runGroups.@each.cmdString')
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment