Skip to content

Commit

Permalink
fixed ZMI
Browse files Browse the repository at this point in the history
svn path=/ZMS/branches/zms4/; revision=5825
  • Loading branch information
zmsdev committed Aug 25, 2020
1 parent 60e1e71 commit 1e8d3d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Products/zms/zpt/ZMS/manage_customizedesignform.zpt
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<a href="#" tal:attributes="
class python:css is None and 'text-danger' or '';
title python:css is None and 'CSS-Object is missing!' or 'CSS-Code-Preview';
onclick python:css is None and cssedit_href or 'zmiPreviewBtnClick(this)'">
onclick python:css is None and cssedit_href or 'return zmiPreviewBtnClick(this)'">
<i tal:condition="css" class="icon-caret-right fas fa-caret-right"></i>
<i tal:condition="not:css" class="icon-bug fas fa-bug text-danger"></i>
<span tal:content="href">href</span>
Expand Down Expand Up @@ -228,7 +228,7 @@
<a href="#" tal:attributes="
class python:js is None and 'text-danger' or '';
title python:js is None and 'js-Object is missing!' or 'js-Code-Preview';
onclick python:js is None and jsedit_href or 'zmiPreviewBtnClick(this)'">
onclick python:js is None and jsedit_href or 'return zmiPreviewBtnClick(this)'">
<i tal:condition="js" class="icon-caret-right fas fa-caret-right"></i>
<i tal:condition="not:js" class="icon-bug fas fa-bug text-danger"></i>
<span tal:content="href">href</span>
Expand Down Expand Up @@ -352,6 +352,7 @@ function zmiPreviewBtnClick(sender) {
$('pre',container).html( data ).toggle();
$('i.fa-caret-right',container).toggleClass('fa-rotate-90')
});
return false;
}

$(function(){
Expand Down
2 changes: 1 addition & 1 deletion Products/zms/zpt/ZMSMetacmdProvider/manage_main.zpt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
></tal:block>
<!-- /ACE Editor -->

<div class="form-group">
<div class="form-group row">
<table class="table-access-control">
<thead>
<tr>
Expand Down

0 comments on commit 1e8d3d2

Please sign in to comment.