diff options
author | lou <louiscuny@gmail.com> | 2013-05-24 19:22:50 +0200 |
---|---|---|
committer | lou <louiscuny@gmail.com> | 2013-05-24 19:22:50 +0200 |
commit | 3abad28c00247292817809b64e48c09c718df4cc (patch) | |
tree | db3dd924e70e3dc8fe23883e00a064076e919158 /js/application.js | |
parent | 7d5cb795e6ca2779f15d2e890015956abc7eeea1 (diff) | |
download | multi-select-3abad28c00247292817809b64e48c09c718df4cc.zip multi-select-3abad28c00247292817809b64e48c09c718df4cc.tar.gz multi-select-3abad28c00247292817809b64e48c09c718df4cc.tar.bz2 |
fix refresh method + add it to demos + clean js
Diffstat (limited to 'js/application.js')
-rw-r--r-- | js/application.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/application.js b/js/application.js index 9d856a8..ab47ff1 100644 --- a/js/application.js +++ b/js/application.js @@ -41,6 +41,11 @@ } }); + $('#refresh').on('click', function(){ + $('#public-methods').multiSelect('refresh'); + return false; + }) + $('#public-methods').multiSelect({}); $('#select-all').click(function(){ |