I think I found a juicy bug!

I filed a bug for this.  http://bugzilla.qooxdoo.org/show_bug.cgi?id=6442

Here's my code snippet, in a handler for a cellClick in a table:
      var handleCellClick = function(e) {
        if (e.getColumn() == 2) {
          var group_task_id = tableModel.getRowData(e.getRow())[0];
          var mainTabs = qx.core.Init.getApplication().getUserData("mainTabs");
          mainTabs.openOrSelectGroupTaskDetailTab(group_task_id);
        }
        if (e.getColumn() == 7) {
          var group_task_id = tableModel.getRowData(e.getRow())[0];
          var req = new qx.io.request.Xhr("/group_task/"+group_task_id);
          req.setMethod("DELETE");
          req.addListener("success", function(e) {
            this.resetSelection();
            this.setFocusedCell();
              var parent = this.getLayoutParent();
              console.log('point a');
              parent.__GroupsQueuedTasksTable.kickReload();
              console.log('point b');
              parent.__GroupsCompletedTasksTable.kickReload();
            }, this);
          req.send();
        }
      };
When I hit the source area, the kickReload between "point a" and "point b"
works fine.
After I do a generate.py build, the kickReload generates an error on the
console:
Uncaught TypeError: Cannot call method 'kickReload' of undefined

This happens on Windows 7 and Ubuntu 10.04 in Firefox 12.0 and Chrome
19.0.1084.46 m.

Am I missing anything?
"It just ain't right!"

Scott
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to