using Bill's css functions now
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 25 Aug 2005 18:51:36 +0000 (18:51 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 25 Aug 2005 18:51:36 +0000 (18:51 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1739 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/cat/marc_validate.js
Evergreen/staff_client/chrome/content/evergreen/patron/patron_edit_legacy.js

index 5128b00..25d8ec4 100644 (file)
@@ -82,7 +82,7 @@ function test_tagnumber_rule(r) {
                        case 0: t.value = '000'; break;
                }
        }
-       remove_css_class(t,'invalid');
+       removeCSSClass(t,'invalid');
        if (marc_rules[t.value]) {
                var rule = marc_rules[t.value];
                if (tag_seen[t.value]) { tag_seen[t.value]++; } else { tag_seen[t.value] = 1; }
@@ -105,7 +105,7 @@ function test_ind1_rule(r) {
        // rows (rows) -> row (r) -> wrapper (w) -> textbox (t)
        var tagnumber = r.childNodes[0].firstChild.value;
        var ind1 = r.childNodes[1].firstChild;
-       remove_css_class(ind1,'invalid');
+       removeCSSClass(ind1,'invalid');
        if ((marc_rules[tagnumber]) && (marc_rules[tagnumber].ind1)) {
                var regex = '/^[' + marc_rules[tagnumber].ind1.allowed + ']$/';
                if (! ind1.value.match(eval(regex)) ) {
@@ -120,7 +120,7 @@ function test_ind2_rule(r) {
        // rows (rows) -> row (r) -> wrapper (w) -> textbox (t)
        var tagnumber = r.childNodes[0].firstChild.value;
        var ind2 = r.childNodes[2].firstChild;
-       remove_css_class(ind2,'invalid');
+       removeCSSClass(ind2,'invalid');
        if ((marc_rules[tagnumber]) && (marc_rules[tagnumber].ind2)) {
                var regex = '/^[' + marc_rules[tagnumber].ind2.allowed + ']$/';
                if (! ind2.value.match(eval(regex)) ) {
@@ -135,7 +135,7 @@ function test_subfield_rule(r) {
        // rows (rows) -> row (r) -> wrapper (w) -> textbox (t)
        var tagnumber = r.childNodes[0].firstChild.value;
        var data = r.childNodes[3].firstChild;
-       remove_css_class(data,'invalid');
+       removeCSSClass(data,'invalid');
        if (marc_rules[tagnumber]) {
                var datastring = data.value.replace(/^\s+/,'').replace(/\s+$/,'');
                var subf_array = datastring.split(String.fromCharCode(8225));
index fb8bd62..a45b872 100644 (file)
@@ -914,7 +914,7 @@ function patron_summary_refresh(ev) {
                if (standing.value() == 'Good') {
                        add_css_class(standing_e,'good');
                } else {
-                       remove_css_class(standing_e,'good');    
+                       removeCSSClass(standing_e,'good');      
                }
        }
        var claims_returned_e = document.getElementById('patron_status_data_claims_returned');
@@ -1328,7 +1328,7 @@ function toggle_address(e,id) {
        } else {
                button.setAttribute('toggle','0');
                mw.sdump('D_LEGACY','original node = ' + js2JSON(address) + '\n');
-               remove_css_class(groupbox,'deleted_address');
+               removeCSSClass(groupbox,'deleted_address');
                address.isdeleted('0');
                mw.sdump('D_LEGACY','updated  node = ' + js2JSON(address) + '\n');
        }