Imio : jquery for backoffice (with gadjo variant template)

This commit is contained in:
Christophe Boulanger 2018-07-20 15:38:34 +02:00
parent 03a5a69eac
commit aa6925efd1
1 changed files with 14 additions and 0 deletions

14
static/imio/bo_common.js Normal file
View File

@ -0,0 +1,14 @@
$(function() {
// hide page in backoffice
var $bo_noshowpage = $('div#summary > div.dataview .bo_noshowpage');
$bo_noshowpage.each(function() {
$(this).parents('div.page').eq(0).css('display','none');
});
/*var $bo_noshowpage = $('div#summary > div.dataview .bo_noshowpage')
$bo_noshowpage.each(function() {
$(this).parent().parent().css('display','none');
});*/
});