Browse Source

Updated examples

Dante 12 years ago
parent
commit
41418c84af
1 changed files with 6 additions and 1 deletions
  1. 6 1
      examples/index.html

+ 6 - 1
examples/index.html

@@ -190,11 +190,11 @@
         <!--
         BootstrapDialog.show({
             message: 'I sent ajax request!',
-            autospin: true,
             buttons: [{
                 icon: 'glyphicon glyphicon-send',
                 label: 'Send ajax request',
                 cssClass: 'btn-primary',
+                autospin: true,
                 action: function(dialogRef){
                     dialogRef.enableButtons(false);
                     dialogRef.setClosable(false);
@@ -203,6 +203,11 @@
                         dialogRef.close();
                     }, 5000);
                 }
+            }, {
+                label: 'Close',
+                action: function(dialogRef){
+                    dialogRef.close();
+                }
             }]
         });
         -->