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
    Ext User
    Join Date
    Oct 2009
    Posts
    1
    Vote Rating
    0
    orvilletw is on a distinguished road

      0  

    Post How to add confirm dialog before deleting docuemnt

    How to add confirm dialog before deleting docuemnt


    Dear All

    When I click "Delete" button in keyboard,document that I selected in view will be deleted.
    How can I add the confirm dialog to remind user before document be deleted?
    thanks

  2. #2
    Ext User
    Join Date
    Mar 2009
    Posts
    3
    Vote Rating
    1
    cevarief is on a distinguished road

      1  

    Cool


    Code:
    Ext.MessageBox.confirm('Delete', 'Are you sure ?', function(btn){
       if(btn === 'yes'){
           //some code
       }
       else{
          //some code
       }
     });
    To trap the keyboard key : http://www.extjs.com/blog/2008/09/23/keyboard-handling/

  3. #3
    Sencha User
    Join Date
    Feb 2013
    Posts
    2
    Vote Rating
    0
    johnnyd is on a distinguished road

      0  

    Default Confirm dialog

    Confirm dialog


    Sencha 2.2 this is now:

    Ext.Msg.confirm( .... )

Thread Participants: 2