[open-ils-commits] r13317 - trunk/Open-ILS/web/js/ui/default/conify/global/config (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jun 4 13:46:11 EDT 2009
Author: erickson
Date: 2009-06-04 13:46:08 -0400 (Thu, 04 Jun 2009)
New Revision: 13317
Modified:
trunk/Open-ILS/web/js/ui/default/conify/global/config/billing_type.js
Log:
disable selector cells for system billing types so no deletion attempts are allowed
Modified: trunk/Open-ILS/web/js/ui/default/conify/global/config/billing_type.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/conify/global/config/billing_type.js 2009-06-04 17:45:42 UTC (rev 13316)
+++ trunk/Open-ILS/web/js/ui/default/conify/global/config/billing_type.js 2009-06-04 17:46:08 UTC (rev 13317)
@@ -22,6 +22,11 @@
function btInit() {
+ btGrid.disableSelectorForRow = function(rowIdx) {
+ var item = btGrid.getItem(rowIdx);
+ return (btGrid.store.getValue(item, 'id') < 100);
+ }
+
buildBTGrid();
var connect = function() {
dojo.connect(btContextOrgSelect, 'onChange',
More information about the open-ils-commits
mailing list