Bugzilla – Attachment 27366 Details for
Bug 12103
Move ajaxfileupload jQuery plugin outside of language-specific directory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Signed-off] Bug 12103 - Move ajaxfileupload jQuery plugin outside of language-specific directory
Signed-off-Bug-12103---Move-ajaxfileupload-jQuery-.patch (text/plain), 2.01 KB, created by
Marc Véron
on 2014-04-21 18:15:55 UTC
(
hide
)
Description:
[Signed-off] Bug 12103 - Move ajaxfileupload jQuery plugin outside of language-specific directory
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2014-04-21 18:15:55 UTC
Size:
2.01 KB
patch
obsolete
>From 6520e1d7ac08a2ace41a48e0e336b1aa147444b5 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 17 Apr 2014 13:27:14 -0400 >Subject: [PATCH] [Signed-off] Bug 12103 - Move ajaxfileupload jQuery plugin > outside of language-specific directory >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch moves the ajaxfileupload jQuery plugin to >intranet-tmpl/prog/lib/jquery/plugins so that it will not be duplicated >for each set of translated templates. > >To test, apply the patch and test a page which requires the file upload >plugin. For instance: Tools -> Upload local cover image. The upload >process should finish correctly. > >Tested with patron and local cover images. Works as expected. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > .../intranet-tmpl/{prog/en => }/lib/jquery/plugins/ajaxfileupload.js | 0 > koha-tmpl/intranet-tmpl/prog/en/includes/file-upload.inc | 2 +- > 2 files changed, 1 insertion(+), 1 deletion(-) > rename koha-tmpl/intranet-tmpl/{prog/en => }/lib/jquery/plugins/ajaxfileupload.js (100%) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/ajaxfileupload.js b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/ajaxfileupload.js >similarity index 100% >rename from koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/ajaxfileupload.js >rename to koha-tmpl/intranet-tmpl/lib/jquery/plugins/ajaxfileupload.js >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/file-upload.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/file-upload.inc >index 2fbb9f3..d8e9e00 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/file-upload.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/file-upload.inc >@@ -1,5 +1,5 @@ > <!-- AJAX file upload stuff --> >-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/ajaxfileupload.js"></script> >+<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/ajaxfileupload.js"></script> > <script type="text/javascript"> > //<![CDATA[ > var fileUploadProgressTimer = 0; >-- >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 12103
:
27271
|
27366
|
27625