Skip to content

Commit

Permalink
naming
Browse files Browse the repository at this point in the history
  • Loading branch information
drfho committed Jul 25, 2023
1 parent f1077bd commit b1a16fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Products/zms/zpt/ZMSIndex/manage_main.zpt
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,12 @@ $(function() {
console.log('addPages.callback')
$(".zmi-sitemap a:not(.checkboxed)").each(function() {
var $a = $(this);
var a_href = $a.attr('href')+'/manage';
var href_manage = $a.attr('href')+'/manage';
$a.addClass("checkboxed")
.removeAttr('onclick')
.attr('target','_blank')
.attr('href',a_href)
.attr('title',a_href);
.attr('href',href_manage)
.attr('title',href_manage);
var phys_path = $a.attr('data-page-physical-path');
var uid = '{'+'$'+phys_path.substr(1).replace(/\/content/gi,'@')+'}'; // $a.attr('data-uid');
$a.before('<input name="home_ids:list" type="checkbox" title="'+uid+'" value="'+uid+'" checked="checked" /> ');
Expand Down
6 changes: 3 additions & 3 deletions Products/zms/zpt/ZMSZCatalogAdapter/manage_main.zpt
Original file line number Diff line number Diff line change
Expand Up @@ -375,12 +375,12 @@ $(function() {
console.log('addPages.callback')
$(".zmi-sitemap a:not(.checkboxed)").each(function() {
var $a = $(this);
var a_href = $a.attr('href')+'/manage';
var href_manage = $a.attr('href')+'/manage';
$a.addClass("checkboxed")
.removeAttr('onclick')
.attr('target','_blank')
.attr('href',a_href)
.attr('title',a_href);
.attr('href',href_manage)
.attr('title',href_manage);
var phys_path = $a.attr('data-page-physical-path');
var uid = '{'+'$'+phys_path.substr(1).replace(/\/content/gi,'@')+'}'; // $a.attr('data-uid');
$a.before('<input name="home_id:list" type="checkbox" title="'+uid+'" value="'+uid+'" checked="checked" /> ');
Expand Down

0 comments on commit b1a16fe

Please sign in to comment.