Bugzilla – Attachment 20395 Details for
Bug 10558
Convert records table in manage-marc-import.pl to ajax DataTable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10558 [QA Follow-up 4] - switch $.getJSON to $.ajax
Bug-10558-QA-Follow-up-4---switch-getJSON-to-ajax.patch (text/plain), 1.43 KB, created by
Kyle M Hall (khall)
on 2013-08-16 10:48:11 UTC
(
hide
)
Description:
Bug 10558 [QA Follow-up 4] - switch $.getJSON to $.ajax
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-08-16 10:48:11 UTC
Size:
1.43 KB
patch
obsolete
>From c3dcae6c2a026295b363cef657bb4df134a142c5 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 16 Aug 2013 06:46:38 -0400 >Subject: [PATCH] Bug 10558 [QA Follow-up 4] - switch $.getJSON to $.ajax > >--- > .../prog/en/modules/tools/manage-marc-import.tt | 12 +++++++++--- > 1 files changed, 9 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >index d4c7958..edf5f85 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt >@@ -49,9 +49,15 @@ $(document).ready(function(){ > "fnServerData": function ( sSource, aoData, fnCallback ) { > aoData.push( { "name": "import_batch_id", "value": [% import_batch_id %] } ); > >- $.getJSON( sSource, aoData, function (json) { >- fnCallback(json) >- } ); >+ $.ajax({ >+ 'dataType': 'json', >+ 'type': 'POST', >+ 'url': sSource, >+ 'data': aoData, >+ 'success': function(json){ >+ fnCallback(json); >+ } >+ }); > }, > "fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) { > $('td:eq(1)', nRow).html( >-- >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 10558
:
19506
|
19507
|
19515
|
19516
|
19517
|
19520
|
19525
|
19526
|
19547
|
19674
|
19675
|
19681
|
19682
|
19692
|
20183
|
20184
|
20185
|
20328
|
20345
|
20395
|
22062
|
22063
|
22064
|
22065
|
22066
|
22067
|
22068
|
23993
|
23994
|
23995
|
25936
|
25937