diff --git a/module/user/js/login.js b/module/user/js/login.js index eb9d45e829..b6eeea01bf 100644 --- a/module/user/js/login.js +++ b/module/user/js/login.js @@ -6,7 +6,6 @@ $(document).ready(function() $("#langs li > a").click(function() { selectLang($(this).data('value')); - console.log($(this).data('value')); }); $('#mobile').popover({html: true, container: 'body'}); diff --git a/www/js/my.full.js b/www/js/my.full.js index 088119c064..168d9dc599 100644 --- a/www/js/my.full.js +++ b/www/js/my.full.js @@ -77,7 +77,6 @@ function shortcut() */ function showDropMenu(objectType, objectID, module, method, extra) { - console.log(arguments); var li = $('#currentItem').closest('li'); if(li.hasClass('show')) {li.removeClass('show'); return;} @@ -845,13 +844,14 @@ function setModal() { var options = { - url: url, - width: $e.data('width') || 800, - height: $e.data('height') || 'auto', - icon: $e.data('icon') || '?', - title: $e.data('title') || $e.attr('title') || $e.text(), - name: $e.data('name') || 'modalIframe', - cssClass: $e.data('class') + url: url, + width: $e.data('width') || 800, + height: $e.data('height') || 'auto', + icon: $e.data('icon') || '?', + title: $e.data('title') || $e.attr('title') || $e.text(), + name: $e.data('name') || 'modalIframe', + cssClass: $e.data('class'), + headerless: $e.data('headerless') || false } options = $.extend(options, setting); @@ -864,6 +864,10 @@ function setModal() options.height = $w.height(); options.cssClass += ' fullscreen'; } + if(options.headerless) + { + options.cssClass += ' hide-header'; + } if(options.icon == '?') { @@ -1062,7 +1066,6 @@ function setSyncTrigger() var $this = $(this); var val = $this.prop('tagName') == 'INPUT' ? $this.val() : $this.html(); var target = $($this.attr('data-sync-target')); - console.log(target); if(target.prop('tagName') == 'INPUT') target.val(val); else target.html(val); });