|
|
@ -323,7 +323,7 @@ menu.tabs = { }
|
|
|
|
// $(_label).on('click',_clickEvent)
|
|
|
|
// $(_label).on('click',_clickEvent)
|
|
|
|
// return [_button,_label]
|
|
|
|
// return [_button,_label]
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
menu.tabs.init =function (_layout){
|
|
|
|
menu.tabs.init =function (_layout,_context){
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Let us determine what kind of menu is suited for this
|
|
|
|
// Let us determine what kind of menu is suited for this
|
|
|
|
// @TODO: Make menus configurable i.e on other areas of the site
|
|
|
|
// @TODO: Make menus configurable i.e on other areas of the site
|
|
|
@ -336,9 +336,9 @@ menu.tabs.init =function (_layout){
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
if (_count == _items){
|
|
|
|
if (_count == _items){
|
|
|
|
var _menuObject = new QCMSTabs (_layout)
|
|
|
|
var _menuObject = new QCMSTabs (_layout,_context)
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
var _menuObject = new QCMSBasic (_layout)
|
|
|
|
var _menuObject = new QCMSBasic (_layout,_context)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// console.log(_layout)
|
|
|
|
// console.log(_layout)
|
|
|
|
// var _tabs = new QCMSTabs (_layout)
|
|
|
|
// var _tabs = new QCMSTabs (_layout)
|
|
|
|