mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Fix couple of mobile template issues
This commit is contained in:
parent
780f14b4c5
commit
b6398c4059
@ -482,7 +482,7 @@ egw.extend('links', egw.MODULE_GLOBAL, function()
|
||||
link_quick_add: function(_parent)
|
||||
{
|
||||
// check if quick-add selectbox is already there, only create it again if not
|
||||
if (document.getElementById('quick_add_selectbox')) return;
|
||||
if (document.getElementById('quick_add_selectbox') || egwIsMobile()) return;
|
||||
|
||||
const select = document.createElement('et2-select');
|
||||
select.setAttribute('id', 'quick_add_selectbox');
|
||||
|
@ -997,7 +997,7 @@ import {tapAndSwipe} from "../../api/js/tapandswipe";
|
||||
var $sidebar = jQuery('#'+egw.app_name()+'_sidebox_content');
|
||||
$sidebar.toggle();
|
||||
jQuery(this).css({
|
||||
'background-image':'url('+egw.webserverUrl+'/' + ($sidebar.is(":visible")?'pixelegg/images/apps.svg':egw.app_name()+'/templates/pixelegg/images/navbar.svg)')
|
||||
'background-image':'url('+egw.webserverUrl+'/' + ($sidebar.is(":visible")?'api/templates/default/images/apps.svg':egw.app_name()+'/templates/default/images/navbar.svg)')
|
||||
});
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user