1. #1
    Ext User
    Join Date
    Aug 2008
    Location
    Germany
    Posts
    36
    Vote Rating
    0
    Northrog is on a distinguished road

      0  

    Default [2.2] MessageBox: btn will always be 1 when using with Prototype

    [2.2] MessageBox: btn will always be 1 when using with Prototype


    Hello,

    I found a bug when using prototype and Ext at the same time (bug tested in ff3/ie7 on vista):

    When you include the prototype.js from the ext framework (not yet tested with an external prototype.js), and also include the "normal" Ext framework (ext-all.js and so on), the btn-value of a function of the syntax function(btn, text) { alert(btn) } as the callback of a Ext:MessageBox will always be 1, REGARDLESS of the button you clicked.

    Hope the helps you,

    Northrog

  2. #2
    Sencha User
    Join Date
    Nov 2010
    Location
    Chennai, INDIA
    Posts
    7
    Vote Rating
    0
    Sriram Ramani is on a distinguished road

      0  

    Default Message box with prototype

    Message box with prototype


    You are 100% rite. I've encountered such a problem

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Location
    Chennai, INDIA
    Posts
    7
    Vote Rating
    0
    Sriram Ramani is on a distinguished road

      0  

    Default MessageBox: btn will always be 1 when using with Prototype

    MessageBox: btn will always be 1 when using with Prototype


    Guys,

    Sorry for the above one. First i too got the same problem, but when i include my files in this order it seems to work

    <link rel="stylesheet" type="text/css" href="ext-2.3.0/resources/css/ext-all.css" />
    <script type="text/javascript" src="ext-2.3.0/adapter/prototype/prototype.js"></script>
    <script type="text/javascript" src="ext-2.3.0/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="ext-2.3.0/ext-all.js"></script>

    Huray

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar