Skip to content

Commit

Permalink
[#618] Fixed form ID attribute used in doForMarkedInThisWindow() ja…
Browse files Browse the repository at this point in the history
…vascript function which looks like it was carried over from some other part of the app (e.g. entry listing)
  • Loading branch information
jayallen committed Dec 2, 2010
1 parent 3e9aeb7 commit 64fa662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmpl/cms/list_plugin.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@

<mt:setvarblock name="action_buttons">
<a href="javascript:void(0)"
onclick="doForMarkedInThisWindow(getByID('<$mt:var name="object_type"$>-listing-form'), '<__trans phrase="plugin" escape="js">', '<__trans phrase="plugins" escape="js">', 'id', 'disable_item', {}, '<__trans phrase="to publish" escape="js">'); return false;"
onclick="doForMarkedInThisWindow(getByID('enabled-plugins-form'), '<__trans phrase="plugin" escape="js">', '<__trans phrase="plugins" escape="js">', 'id', 'disable_item', {}, '<__trans phrase="to publish" escape="js">'); return false;"
accesskey="a"
title="<__trans phrase="Disable selected plugins (a)">"
><__trans phrase="Disable"></a></mt:if>
Expand All @@ -171,7 +171,7 @@

<mt:setvarblock name="action_buttons">
<a href="javascript:void(0)"
onclick="doForMarkedInThisWindow(getByID('<$mt:var name="object_type"$>-listing-form'), '<__trans phrase="plugin" escape="js">', '<__trans phrase="plugins" escape="js">', 'id', 'enable_item', {}, '<__trans phrase="to publish" escape="js">'); return false;"
onclick="doForMarkedInThisWindow(getByID('disabled-plugins-form'), '<__trans phrase="plugin" escape="js">', '<__trans phrase="plugins" escape="js">', 'id', 'enable_item', {}, '<__trans phrase="to publish" escape="js">'); return false;"
accesskey="a"
title="<__trans phrase="Enable selected plugins (a)">"
><__trans phrase="Enable"></a></mt:if>
Expand Down

0 comments on commit 64fa662

Please sign in to comment.