Fixed  Problem with getLastHash on the permission def. page

  • Thread starter Thread starter ragtek
  • Start date Start date
R

ragtek

Guest
The problem is, that the hash isn't unique on the permissins page, if there are 2 permission with the same name!

hash for ragtek_articlecategory/like=> #_like
hash for forum/like => #_like

Other example, ragtek_article search = id="_search" and also forum search has the id "_search"
<li class="listItem primaryContent" id="_search">
<a href="admin.php?permissions/permission/general/search/delete" class="delete OverlayTrigger secondaryContent" title="Delete..."><span>Delete...</span></a>
....
</li>
<li class="listItem primaryContent" id="_search">

<a href="admin.php?permissions/permission/ragtek_articlecategory/search/delete" class="delete OverlayTrigger secondaryContent" title="Delete..."><span>Delete...</span></a>

<h4>
<a href="admin.php?permissions/permission/ragtek_articlecategory/search/edit">
<em>search</em>
<dfn>ragtek Article System</dfn>
</a></h4>
</li>
 
Top Bottom