modify standing_penalties.js
authorJason Etheridge <jason@esilibrary.com>
Tue, 1 Oct 2013 20:20:11 +0000 (16:20 -0400)
committerJason Etheridge <jason@esilibrary.com>
Tue, 1 Oct 2013 21:06:32 +0000 (17:06 -0400)
Open-ILS/xul/staff_client/server/patron/standing_penalties.js

index 7a1786f..4f1317c 100644 (file)
@@ -211,6 +211,9 @@ function generate_request_handler_for_penalty_apply(penalty,id) {
                 xulG.refresh();
             }
             */
+            if (xulG && typeof xulG.reset_summary == 'function') {
+                xulG.reset_summary();
+            }
             document.getElementById('progress').hidden = true;
 
         } catch(E) {
@@ -238,6 +241,9 @@ function handle_remove_penalty(ev) {
                     xulG.refresh();
                 }
                 */
+                if (xulG && typeof xulG.reset_summary == 'function') {
+                    xulG.reset_summary();
+                }
                 document.getElementById('progress').hidden = true;
 
                 //patron.util.set_penalty_css(xulG.patron);
@@ -340,6 +346,9 @@ function handle_edit_penalty(ev) {
                 xulG.refresh();
             }
             */
+            if (xulG && typeof xulG.reset_summary == 'function') {
+                xulG.reset_summary();
+            }
         }
 
     } catch(E) {
@@ -400,6 +409,9 @@ function handle_archive_penalty(ev) {
                 xulG.refresh();
             }
             */
+            if (xulG && typeof xulG.reset_summary == 'function') {
+                xulG.reset_summary();
+            }
         }
 
     } catch(E) {