Bugzilla – Attachment 9531 Details for
Bug 7977
Add a "Quote-of-the-day" feature to the OPAC homepage
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7977: Improving upload result message display
Bug-7977-Improving-upload-result-message-display.patch (text/plain), 2.47 KB, created by
Jared Camins-Esakov
on 2012-05-12 12:57:00 UTC
(
hide
)
Description:
Bug 7977: Improving upload result message display
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2012-05-12 12:57:00 UTC
Size:
2.47 KB
patch
obsolete
>From bfc3c20a5d414f90ddb2b13ba47c7c080808f6fd Mon Sep 17 00:00:00 2001 >From: Chris Nighswonger <cnighswonger@foundations.edu> >Date: Fri, 11 May 2012 11:49:22 -0400 >Subject: [PATCH] Bug 7977: Improving upload result message display >Content-Type: text/plain; charset="UTF-8" > >Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> >--- > .../prog/en/modules/tools/quotes-upload.tt | 13 ++++--------- > 1 files changed, 4 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt >index 996a1b2..2330ee6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt >@@ -268,12 +268,13 @@ > success : function(){ > var response = JSON.parse(jqXHR.responseText); > if (response.success) { >- $("#server_response").text(response.records+_(' quotes saved.')); >+ alert(response.records+_(' quotes saved.')); >+ window.location.reload(true); // is this the best route? > } > else { >- $("#server_response").text(+response.records+_(' quotes saved, but an error has occurred. Please ask your administrator to check the server log for more details.')); >+ alert(response.records+_(' quotes saved, but an error has occurred. Please ask your administrator to check the server log for more details.')); >+ window.location.reload(true); // is this the best route? > } >- $("#server_response").fadeIn(200); > }, > }); > } >@@ -292,11 +293,6 @@ > } > } > >- function fnResetUpload() { >- $('#server_response').fadeOut(200); >- window.location.reload(true); // is this the best route? >- } >- > //]]> > </script> > </head> >@@ -339,7 +335,6 @@ > <div id="progress_bar"><div class="percent">0%</div></div> > </div> > </fieldset> >- <div id="server_response" onclick='fnResetUpload()'>Server Response</div> > <table id="quotes_editor" style="visibility: hidden;"> > <thead> > <tr> >-- >1.7.2.5
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 7977
:
9310
|
9321
|
9323
|
9324
|
9325
|
9326
|
9327
|
9328
|
9338
|
9343
|
9373
|
9376
|
9377
|
9378
|
9392
|
9405
|
9406
|
9407
|
9408
|
9409
|
9433
|
9434
|
9435
|
9441
|
9442
|
9443
|
9447
|
9473
|
9474
|
9475
|
9476
|
9477
|
9478
|
9479
|
9480
|
9481
|
9482
|
9483
|
9484
|
9485
|
9486
|
9503
|
9504
|
9505
|
9510
|
9517
|
9521
|
9529
|
9530
|
9531
|
9682
|
9683
|
9711
|
9712
|
9713
|
9714
|
9715
|
9716
|
9717
|
9718
|
9719
|
9720
|
9721
|
9722
|
9723
|
9724
|
9725
|
9726
|
9727
|
9728
|
9729
|
9730
|
9731
|
9732