return dojo.date.locale.format(date, {formatLength:'short'});
}
function deleteFromGrid() {
- progressDialogInd.show();
+ progressDialog.setInd(true);
+ progressDialog.update();
+ progressDialog.show();
var list = [];
dojo.forEach(
plListGrid.getSelectedItems(),
plListGrid.store.deleteItem(item);
}
);
- openils.acq.Picklist.deleteList(list, function(){progressDialogInd.hide();});
+ openils.acq.Picklist.deleteList(list, function(){progressDialog.hide();});
}
function cloneSelectedPl(fields) {
var plId = plListGrid.store.getValue(item, 'id');
var entryCount = Number(plListGrid.store.getValue(item, 'entry_count'));
+ progressDialog.setInd(false);
progressDialog.show();
progressDialog.update({maximum:entryCount, progress:0});
}
);
+ progressDialog.setInd(false);
progressDialog.show();
progressDialog.update({maximum:totalLi, progress:0});