summaryrefslogtreecommitdiffstats
path: root/js/application.js
diff options
context:
space:
mode:
authorlou <louiscuny@gmail.com>2013-05-24 19:22:50 +0200
committerlou <louiscuny@gmail.com>2013-05-24 19:22:50 +0200
commit3abad28c00247292817809b64e48c09c718df4cc (patch)
treedb3dd924e70e3dc8fe23883e00a064076e919158 /js/application.js
parent7d5cb795e6ca2779f15d2e890015956abc7eeea1 (diff)
downloadmulti-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.js5
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(){