smartxml: fix - getIndex returns undefined for a node not attached to a document...
[fnpeditor.git] / src / editor / views / tabs / tabs.js
index ada2dba..1b7ba44 100644 (file)
@@ -11,7 +11,7 @@ define([
         className: 'rng-view-tabs',
         
         events: {
         className: 'rng-view-tabs',
         
         events: {
-            'click ul a, i': '_onTabTitleClicked'
+            'click .rng-view-tabs-tabBar a, .rng-view-tabs-tabBar i': '_onTabTitleClicked'
         },
         
         initialize: function(options) {
         },
         
         initialize: function(options) {