Revision: 4534
          http://sourceforge.net/p/vexi/code/4534
Author:   mkpg2
Date:     2013-06-30 02:35:27 +0000 (Sun, 30 Jun 2013)
Log Message:
-----------
Fix. Unable to delete read traps from boxes.

Modified Paths:
--------------
    branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp

Modified: branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp
===================================================================
--- branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp        
2013-06-20 22:18:52 UTC (rev 4533)
+++ branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp        
2013-06-30 02:35:27 UTC (rev 4534)
@@ -2930,6 +2930,8 @@
 
     /** remove unnecessary flags */
     public void delTrap(JS key, JS function) throws JSExn {
+        super.delTrap(key, function);
+        
         // differentiate between read and write traps
         if (function.getFormalArgs().length != 1) {
             //#switch (JSU.toString(key))
@@ -2939,7 +2941,7 @@
             //#end
             return;
         }
-        super.delTrap(key, function);
+        
         //#switch (JSU.toString(key))
         case "x":         if (wtrap(SC_x) == null) clear(X_TRAP);
         case "y":         if (wtrap(SC_y) == null) clear(Y_TRAP);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to