Skip to content

Commit

Permalink
fix up the period argument defaults in the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Anil Madhavapeddy committed Aug 2, 2009
1 parent 54ff267 commit 319a27e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion htdocs/grid.js
Expand Up @@ -435,10 +435,13 @@ Ext.onReady(function(){
mr = this.getStore().getModifiedRecords();
for (var i = 0; i < mr.length; i++) {
var r = mr[i];
var period = r.get('Period');
if (!period)
period = 0;
var j = {
plugin: r.get('Plugin'),
mode: r.get('Mode'),
period: r.get('Period'),
period: period,
silo: r.get('Silo'),
args: r.get('Args').split(","),
};
Expand Down

0 comments on commit 319a27e

Please sign in to comment.