Bugzilla – Attachment 16055 Details for
Bug 9797
Untranslatable strings have returned to ajax.js
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9797 - Untranslatable strings have returned to ajax.js
Bug-9797---Untranslatable-strings-have-returned-to.patch (text/plain), 1.84 KB, created by
Owen Leonard
on 2013-03-12 00:47:07 UTC
(
hide
)
Description:
Bug 9797 - Untranslatable strings have returned to ajax.js
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2013-03-12 00:47:07 UTC
Size:
1.84 KB
patch
obsolete
>From 8639045a80770ab29e216a7455d7ffc0bc23f0a6 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 11 Mar 2013 20:44:00 -0400 >Subject: [PATCH] Bug 9797 - Untranslatable strings have returned to ajax.js >Content-Type: text/plain; charset="utf-8" > >The patch for Bug 8942 undid the changes to ajax.js made by Bug 9331. >This patch puts those changes back. > >To test that preference-related error messages continue to work, >open the system preferences editor in two tabs. Log out in one tab and >try to save a system preference in the other. You should see correct >error messages. >--- > koha-tmpl/intranet-tmpl/prog/en/js/ajax.js | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/ajax.js b/koha-tmpl/intranet-tmpl/prog/en/js/ajax.js >index 968334b..c9a45c0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/ajax.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/ajax.js >@@ -15,20 +15,20 @@ KOHA.AJAX = { > KOHA.xhr = xhr; > if ( !xhr.getResponseHeader( 'content-type' ).match( 'application/json' ) ) { > // Something really failed >- humanMsg.displayAlert( _("Internal Server Error, please reload the page") ); >+ humanMsg.displayAlert( MSG_INTERNAL_SERVER_ERROR ); > return; > } > > var error = eval( '(' + xhr.responseText + ')' ); > > if ( error.type == 'auth' ) { >- humanMsg.displayMsg( _("You need to log in again, your session has timed out") ); >+ humanMsg.displayMsg( MSG_SESSION_TIMED_OUT ); > } > > if ( callback ) { > callback( error ); > } else { >- humanMsg.displayAlert( _("Error; your data might not have been saved") ); >+ humanMsg.displayAlert( MSG_DATA_NOT_SAVED ); > } > }, > MarkRunning: function ( selector, text ) { >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9797
:
16055
|
16275
|
16278
|
16747
|
16752
|
16753
|
16990
|
16991