Bugzilla – Attachment 44018 Details for
Bug 11559
Professional cataloger's interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11559: (QA followup) fix several small issues
Bug-11559-QA-followup-fix-several-small-issues.patch (text/plain), 2.75 KB, created by
Jesse Weaver
on 2015-10-26 21:12:40 UTC
(
hide
)
Description:
Bug 11559: (QA followup) fix several small issues
Filename:
MIME Type:
Creator:
Jesse Weaver
Created:
2015-10-26 21:12:40 UTC
Size:
2.75 KB
patch
obsolete
>From 86d0f3b71fc34a3052e97b7f39aaa3cd60c57ee3 Mon Sep 17 00:00:00 2001 >From: Jesse Weaver <pianohacker@gmail.com> >Date: Mon, 26 Oct 2015 15:11:07 -0600 >Subject: [PATCH] Bug 11559: (QA followup) fix several small issues > >This fixes the following: > * Remove unneeded year on use Modern::Perl > * Fix occasional freeze when reloading existing record > * Fix encoding for returned record on first save to catalog >--- > cataloguing/editor.pl | 2 +- > koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 6 +++--- > svc/new_bib | 2 +- > 3 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/cataloguing/editor.pl b/cataloguing/editor.pl >index 8bf9a78..fe31c0b 100755 >--- a/cataloguing/editor.pl >+++ b/cataloguing/editor.pl >@@ -18,7 +18,7 @@ > # along with Koha; if not, see <http://www.gnu.org/licenses>. > # > >-use Modern::Perl '2009'; >+use Modern::Perl; > > use CGI; > use MARC::Record; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >index 4e4d9b2..443c022 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >@@ -753,7 +753,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > > // Automatically detect resizes and change the height of the editor and position of modals. > var resizeTimer = null; >- $( window ).resize( function() { >+ function onResize() { > if ( resizeTimer == null ) resizeTimer = setTimeout( function() { > resizeTimer = null; > >@@ -770,8 +770,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > return -($(this).width() / 2); > } > } ); >- >- } ).resize(); >+ } > > $( '#macro-ui' ).on( 'shown', function() { > if ( macroEditor ) return; >@@ -1087,6 +1086,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > > Resources.GetAll().done( function() { > $("#loading").hide(); >+ $( window ).resize( onResize ).resize(); > editor.focus(); > } ); > } >diff --git a/svc/new_bib b/svc/new_bib >index e1b6933..ba6742a 100755 >--- a/svc/new_bib >+++ b/svc/new_bib >@@ -51,7 +51,7 @@ sub add_bib { > > my $result = {}; > my $inxml = $query->param('POSTDATA'); >- print $query->header(-type => 'text/xml'); >+ print $query->header(-type => 'text/xml', -charset => 'utf-8'); > > my $marcflavour = C4::Context->preference('marcflavour') || 'MARC21'; > my $record = eval {MARC::Record::new_from_xml( $inxml, "utf8", $marcflavour)}; >-- >2.6.1
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 11559
:
26069
|
26070
|
26071
|
26104
|
26653
|
26654
|
27140
|
27141
|
27142
|
27757
|
27758
|
27759
|
27760
|
27761
|
27900
|
27901
|
27902
|
27993
|
27995
|
34458
|
34459
|
34460
|
34461
|
34462
|
34463
|
36243
|
36244
|
36245
|
36246
|
36247
|
36248
|
36455
|
38533
|
38534
|
38535
|
38536
|
38537
|
38538
|
38539
|
40153
|
40154
|
40155
|
40543
|
40555
|
40556
|
40557
|
40558
|
40811
|
40812
|
40813
|
40814
|
40815
|
41425
|
41453
|
41476
|
42373
|
43261
|
43547
|
43614
|
43615
|
43616
|
43617
|
43618
|
43619
|
43620
|
43621
|
43622
|
43623
|
43703
|
43704
|
43705
|
43706
|
43707
|
43708
|
43709
|
43710
|
43711
|
43712
|
43713
|
43772
|
43790
|
43883
|
43969
|
44016
|
44018
|
44022
|
44023
|
44024
|
44025
|
44026
|
44027
|
44028
|
44029
|
44030
|
44031
|
44032
|
44033
|
44034
|
44035
|
44036