ソースを参照

Updated examples

Dante 12 年 前
コミット
2c506dc028
1 ファイル変更6 行追加1 行削除
  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();
+                }
             }]
         });
         -->