Browse Source

toaster在类型为info时timeout默认1000ms

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@9227 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
yingp 8 years ago
parent
commit
64e2d414da

+ 1 - 1
src/main/webapp/resources/lib/angular/angular-toaster.js

@@ -20,7 +20,7 @@ angular.module('toaster', ['ngAnimate'])
             type: type,
             title: title,
             body: body,
-            timeout: timeout,
+            timeout: (timeout || ('info' == type ? 1000 : 5000)),
             bodyOutputType: bodyOutputType,
             clickHandler: clickHandler
         };

File diff suppressed because it is too large
+ 0 - 0
src/main/webapp/resources/lib/angular/angular-toaster.min.js


Some files were not shown because too many files changed in this diff