Index: branches/5.1.x/core/admin_templates/regional/phrases_edit.tpl =================================================================== diff -u -N -r12127 -r12657 --- branches/5.1.x/core/admin_templates/regional/phrases_edit.tpl (.../phrases_edit.tpl) (revision 12127) +++ branches/5.1.x/core/admin_templates/regional/phrases_edit.tpl (.../phrases_edit.tpl) (revision 12657) @@ -1,5 +1,4 @@ - @@ -14,10 +13,20 @@ submit_event('phrases',''); } ) ); - a_toolbar.AddButton( new ToolBarButton('cancel', '', function() { - submit_event('phrases','OnCancel'); + + a_toolbar.AddButton( + new ToolBarButton( + 'cancel', + '', + function() { + + window_close(); + + cancel_edit('phrases', 'OnCancel', '', ''); + } - ) ); + ) + ); a_toolbar.AddButton( new ToolBarButton('reset_edit', '', function() { reset_form('phrases', 'OnReset', ''); @@ -51,33 +60,45 @@ -
- - "> - - - - + + - - - - - + + + - - - + + + - - - + + + + + + + - + + + + + + + + + + + + + +
+
+ - +