Results 1 to 2 of 2

Thread: Can't remove the BogusMenuModule from the Web Desktop or add the Extensible calendar.

  1. #1
    Sencha User edykstra's Avatar
    Join Date
    Feb 2009
    Posts
    98
    Vote Rating
    2
      0  

    Default Can't remove the BogusMenuModule from the Web Desktop or add the Extensible calendar.

    Hello,

    We are using the ExtJS Web Desktop but I don't think we are going to need multi-level menus in the 'Start Menu' that are shown with the BogusModule and BogusMenuModule.

    However, when we remove them, all sorts of strange things start happening; padding added to all GRIDs, backspace stops working in textfields etc. Further clicking on the Start Menu or expanding the list on the Task Bar cause this error to be reported in the console.

    Uncaught TypeError: Property 'focusable' of object #<Object> is not a function

    I suspect that this is because there are many defines in that section that are used elsewhere, and not just for the
    BogusModule and BogusMenuModule.

    Of course, the obvious solution is to leave those code sections there and just not use them, but there seems to be a conflict with the calendar from Ext.ensible.com.

    If we leave the
    BogusModule and BogusMenuModule there, then when we attempt to use the Extensible calendar, we get the following error.

    Uncaught TypeError: Cannot read property 'prototype' of undefined.

    We have traced that error down to the following code segment in desktop.js.

    Code:
    Ext.define("Ext.data.reader.Reader", 
    ......
        getFields: function () {
           return this.model.prototype.fields.items
        },

    The problem is, that when using the Extensible calendar, this.model is undefined.

    What is it that the Extensible calendar doesn't have that the Web Desktop code expects?

    Thanks,

    Eric

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    Are you using a model with the store?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •