do appendClear so we're not growing with new tests
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 3 Apr 2009 20:49:31 +0000 (20:49 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 3 Apr 2009 20:49:31 +0000 (20:49 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12790 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/ui/default/conify/global/action_trigger/event_definition.js

index ef1a42b..36c2281 100644 (file)
@@ -76,7 +76,7 @@ function evtTestCirc() {
             if(!output) output = evt.error_output();
             var pre = document.createElement('pre');
             pre.innerHTML = output.data();
-            dojo.byId('test-event-output').appendChild(pre);
+            openils.Util.appendClear('test-event-output', pre);
             openils.Util.show('test-event-output');
         }
     }