Results 1 to 3 of 3

Thread: Override override Ext.lib.Dom

  1. #1
    Sencha User armaghedon's Avatar
    Join Date
    Jul 2007
    Location
    bucharest romania
    Posts
    31
    Vote Rating
    0
      0  

    Default Override override Ext.lib.Dom

    Hello,

    I am trying to override method getXY from Ext.lib.Dom, but I can't figure out what I do wrong.
    If I try to override something from Ext.Element everything works OK.

    Can somebody please give me a hint of what I'm doing wrong?

    Thank you
    cine rade la urma, gandeste mai incet

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Answers
    1
    Vote Rating
    132
      0  

    Default

    Can I ask why you want to override Ext.lib.Dom.getXY?

    Ext.lib.Dom isn't a class, it's a singleton, so you need to use Ext.apply instead of Ext.override.

  3. #3
    Sencha User armaghedon's Avatar
    Join Date
    Jul 2007
    Location
    bucharest romania
    Posts
    31
    Vote Rating
    0
      0  

    Default

    Thank you. You are right and I read this a 100 times. I use ext 3.1.1 andd this method has a bug in IE7.
    cine rade la urma, gandeste mai incet

Similar Threads

  1. {SOLVED] :how do you override Ext.lib.Ajax?
    By pokerking400 in forum Ext 2.x: Help & Discussion
    Replies: 11
    Last Post: 20 Mar 2012, 6:58 AM
  2. Replies: 3
    Last Post: 2 Jun 2010, 8:30 AM
  3. Override ext.base Ext.lib.Event.doRemove
    By Pyja in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 2 Feb 2010, 7:54 AM
  4. Override Ext.lib.Ajax problem
    By ifcwlme in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 13 Aug 2009, 7:26 PM

Posting Permissions

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