This commit is contained in:
tianshujie
2022-09-05 14:21:35 +08:00
parent dd1feb1a04
commit 1078a4ebc9
2 changed files with 2 additions and 2 deletions
-2
View File
@@ -76,6 +76,4 @@ $(document).ready(function()
{
toggleCopy(false);
$('[data-id="edit"] a').modalTrigger({type: 'iframe', width: 500});
parent.$('#triggerModal .modal-content .modal-header .close').on('click', function(){parent.location.reload();});
});
+2
View File
@@ -335,6 +335,8 @@ $(function()
if(window.config.viewType == 'line') $('#modulemenu > .nav > li > a[href*=product][href*=all]').parent('li[data-id=all]').addClass('active');
if(viewType == 'case' || viewType == 'caselib') $('#subNavbar li[data-id="' + viewType +'"]').addClass('active');
});
if("<?php $from == 'doc'?>") parent.$('#triggerModal .modal-content .modal-header .close').on('click', function(){parent.location.reload();});
</script>
<style>
.module-name {display: inline-block; max-width: calc(100% - 85px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}