Fixed a bug with closing tabs in the CMS
This commit is contained in:
parent
512b05edc1
commit
433e99d6e7
|
|
@ -91,7 +91,9 @@
|
|||
|
||||
$('#cms-master-tabs').on('beforeClose.oc.tab', function(event){
|
||||
// Dispose data table widgets
|
||||
$('[data-control=table]', event.relatedTarget).table('dispose')
|
||||
|
||||
if ($.fn.table !== undefined)
|
||||
$('[data-control=table]', event.relatedTarget).table('dispose')
|
||||
})
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue