Skip to content

Commit

Permalink
Removes non-existent view helper (p'arndt!)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Yurkowski committed Feb 22, 2012
1 parent 2135154 commit 58de1e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/assets/javascripts/refinery/modal_dialogs.js.erb
Expand Up @@ -90,7 +90,7 @@ init_submit_continue = function(){
if ((continue_editing_button = $('#continue_editing')).length > 0 && continue_editing_button.attr('rel') != 'no-prompt') {
$('#editor_switch a').click(function(e) {
if ($('form[data-changes-made]').length > 0) {
if (!confirm('<%= j ::I18n.t('js.admin.confirm_changes') %>')) {
if (!confirm('<%= ::I18n.t('js.admin.confirm_changes') %>')) {
e.preventDefault();
}
}
Expand Down

0 comments on commit 58de1e2

Please sign in to comment.