Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    14
    Vote Rating
    0
    alpchen is on a distinguished road

      0  

    Default adding onUpdated to Ext.Application

    adding onUpdated to Ext.Application


    Hi, is there a way to add onUpdated function to Ext.Application in Sencha Architect?

    thanks

  2. #2
    Sencha User
    Join Date
    Jan 2013
    Posts
    1
    Vote Rating
    0
    jeanfabre is on a distinguished road

      0  

    Default


    Hi,

    I am also looking for some help on this... Did you found out? I am using Architect, and I can't find anything to give me access to this function

    bye,

    Jean

  3. #3
    Sencha - Support Team
    Join Date
    Mar 2012
    Location
    Lawrence, KS
    Posts
    160
    Vote Rating
    24
    greg.barry will become famous soon enough greg.barry will become famous soon enough

      0  

    Default Custom Function

    Custom Function


    You can add this as a custom function for the time being.

    1) Click on your Application in the Project Inspector
    2) Look for the group heading (Architect) I believe it's the first one
    3) The 3rd option is Functions
    4) Click the "+" button
    5) A new MyFunction1 will drop down
    6) Click the arrow
    7) fn = type onUpdated
    8) Click back on Application in the Project Inspector
    9) You should see your onUpdated() function in the app.js now
    10) Click on onUpload in the Project Inspector
    11) Add this to the function in the editor window:

    PHP Code:
    Ext.Msg.confirm(
                
    "Application Update",
                
    "This application has just successfully been updated to the latest version. Reload now?",
                function() {
                    
    window.location.reload();
                }
            ); 
    Thanks!
    Greg

  4. #4
    Sencha Premium Member
    Join Date
    Aug 2011
    Location
    Hamburg - Germany
    Posts
    69
    Vote Rating
    1
    isaid is on a distinguished road

      0  

    Default


    i thing it is not correct, it is like this:
    Code:
    Ext.Msg.confirm(
                "Application Update",
                "This application has just successfully been updated to the latest version. Reload now?",
                function(buttonId) {
                    if (buttonId === 'yes') {
                        window.location.reload();
                    }
                }
            );
    but it is not working on Architect right now, no onUpdate message appears..
    I am trying to get it on Architect but no way, this works only on a generated app directly from Sencha touch with the help of Jacky's production.js witch you have to copy into /microloader/path.