git://git.onelab.eu
/
unfold.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1053f70
)
GoogleMap: trigger in JS
author
Loic Baron
<loic.baron@lip6.fr>
Wed, 12 Mar 2014 15:51:17 +0000
(16:51 +0100)
committer
Loic Baron
<loic.baron@lip6.fr>
Wed, 12 Mar 2014 15:51:17 +0000
(16:51 +0100)
portal/static/js/onelab_slice-resource-view.js
patch
|
blob
|
history
diff --git
a/portal/static/js/onelab_slice-resource-view.js
b/portal/static/js/onelab_slice-resource-view.js
index
45b8395
..
a418093
100644
(file)
--- a/
portal/static/js/onelab_slice-resource-view.js
+++ b/
portal/static/js/onelab_slice-resource-view.js
@@
-1,4
+1,8
@@
$(document).ready(function() {
+ $('li#GoogleMap').click(function (e) {
+ $('.'+this.id).trigger('show');
+ });
+
$('ul.nav-resources a').click(function() {
$('ul.nav-resources li').removeClass('active');
$(this).parent().addClass('active');