make tabs and submenu working

This commit is contained in:
2013-10-31 17:48:57 +01:00
parent 7d9eeaf15d
commit 75794d9323
6 changed files with 14 additions and 6 deletions

View File

@@ -10,7 +10,7 @@
Gumby.debug('Initializing Tabs', $el);
this.$el = $el;
this.$nav = this.$el.find('ul.tab-nav > li');
this.$nav = this.$el.find('ul.tab-nav:not(.follow-href-path) > li');
this.$content = this.$el.find('.tab-content');
var scope = this;

View File

@@ -1,3 +1,7 @@
cl_chill_main_homepage:
pattern: /hello
defaults: { _controller: CLChillMainBundle:Default:index }
options:
menu: person
order: 0
label: HomePage

View File

@@ -5,7 +5,7 @@ services:
menu_composer:
class: CL\Chill\MainBundle\DependencyInjection\Services\MenuComposer
arguments:
- "@routing.loader"
- "@router"
# cl_chill_main.example:
# class: %cl_chill_main.example.class%
# arguments: [@service_id, "plain_value", %parameter%]

View File

@@ -10,7 +10,7 @@
Gumby.debug('Initializing Tabs', $el);
this.$el = $el;
this.$nav = this.$el.find('ul.tab-nav > li');
this.$nav = this.$el.find('ul.tab-nav:not(.follow-href-path) > li');
this.$content = this.$el.find('.tab-content');
var scope = this;

View File

@@ -153,7 +153,7 @@
"bundles/clchillmain/js/gumby.init.js"
"bundles/clchillmain/js/ui/*.js" %}
<script src="{{ asset_url }}" type="text/javascript"></script>
<script gumby-debug src="{{ asset_url }}" type="text/javascript"></script>
{% endjavascripts %}