mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 17:59:55 +09:00
Menu Design: If the menu were set to use no mobile view, assign '_mobile_view_disabled' class to #design
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12117 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8498f9ddda
commit
69820c052d
1 changed files with 6 additions and 4 deletions
|
|
@ -2313,7 +2313,7 @@ jQuery(function($){
|
|||
$('#design').bind('show', function(ev){
|
||||
if(this !== ev.target) return;
|
||||
|
||||
$('#design .x_tabbable a[href="#mobile"]').parent().addClass('x_disabled');
|
||||
//$('#design .x_tabbable a[href="#mobile"]').parent().addClass('x_disabled');
|
||||
|
||||
var sMenuId = $._xeAdminVar.sSelectedMenuSrl;
|
||||
var htInfo = htNodeInfo[sMenuId];
|
||||
|
|
@ -2355,11 +2355,13 @@ jQuery(function($){
|
|||
htData : {}
|
||||
};
|
||||
|
||||
// If no use mobile, diabled mobile tab
|
||||
// If mobile view is disabled for the menu, display the mobile setup screen accordingly
|
||||
if(htDesign.sUseMobile != 'Y'){
|
||||
$('#design .x_tabbable a[href="#mobile"]').parent().addClass('x_disabled');
|
||||
$('#design').addClass('_mobile_view_disabled');
|
||||
//$('#design .x_tabbable a[href="#mobile"]').parent().addClass('x_disabled');
|
||||
}else{
|
||||
$('#design .x_tabbable a[href="#mobile"]').parent().removeClass('x_disabled');
|
||||
$('#design').removeClass('_mobile_view_disabled');
|
||||
//$('#design .x_tabbable a[href="#mobile"]').parent().removeClass('x_disabled');
|
||||
}
|
||||
|
||||
if($._xeAdminVar.sOpenDeisgnWith && $._xeAdminVar.sOpenDeisgnWith === "M"){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue