* refactor code.
This commit is contained in:
@@ -70,15 +70,15 @@ $(document).ready(function()
|
||||
$dropmenu.append("<li><a href='javascript:;' id='switchToTable'><?php echo $lang->datatable->switchToTable?></a></li>");
|
||||
$dropdown.children('.dropdown').append($dropmenu);
|
||||
this.$datatable.before($dropdown);
|
||||
this.$datatable.find('[data-toggle=modal], a.iframe').modalTrigger();
|
||||
this.$datatable.find('[data-toggle="modal"], a.iframe').modalTrigger();
|
||||
if($.fn.progressPie) this.$datatable.find('.progress-pie').progressPie();
|
||||
$("a[data-toggle='showModuleModal']").click(function(){$('#showModuleModal').modal('show')});
|
||||
$('a[data-toggle="showModuleModal"]').click(function(){$('#showModuleModal').modal('show')});
|
||||
|
||||
$('#customBtn').modalTrigger();
|
||||
|
||||
$('#switchToTable').click(function()
|
||||
{
|
||||
saveDatatableConfig('mode', 'table', true)
|
||||
saveDatatableConfig('mode', 'table', true);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
<?php if($onlybody != 'yes'):?>
|
||||
</div><?php /* end '#wrap' in 'header.html.php'. */ ?>
|
||||
<div id='footer'>
|
||||
<div id="crumbs">
|
||||
<div id='crumbs'>
|
||||
<?php commonModel::printBreadMenu($this->moduleName, isset($position) ? $position : ''); ?>
|
||||
</div>
|
||||
<div id="poweredby">
|
||||
<div id='poweredby'>
|
||||
<a href='http://www.zentao.net' target='_blank' class='text-primary'><i class='icon-zentao'></i> <?php echo $lang->zentaoPMS . $config->version;?></a>
|
||||
<?php echo $lang->proVersion;?>
|
||||
<?php commonModel::printNotifyLink();?>
|
||||
|
||||
Reference in New Issue
Block a user