Skip to content

Commit

Permalink
Fix the "Cancel" button in the entry field type in MT5+.
Browse files Browse the repository at this point in the history
  • Loading branch information
danwolfgang committed Sep 15, 2014
1 parent 2f418d4 commit c02e6e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addons/ConfigAssistant.pack/tmpl/entry_list.mtml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
/* <![CDATA[ */
function dialogClose(data) {
if (!data) {
<mt:If tag="Version" lt="5">
closeDialog();
<mt:Else>
parent.jQuery.fn.mtDialog.close();
</mt:If>
return;
}
// user made a selection and clicked insert...
Expand Down

0 comments on commit c02e6e6

Please sign in to comment.