View | Details | Raw Unified | Return to bug 23349
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js (-5 / +4 lines)
Lines 1-4 Link Here
1
/* global KOHA biblionumber new_results_browser addMultiple vShelfAdd openWindow search_result SEARCH_RESULTS PREF_AmazonCoverImages PREF_LocalCoverImages PREF_IntranetCoce PREF_CoceProviders CoceHost CoceProviders addRecord delSingleRecord PREF_BrowseResultSelection resetSearchContext addBibToContext delBibToContext getContextBiblioNumbers MSG_NO_ITEM_SELECTED MSG_NO_ITEM_SELECTED holdfor_cardnumber holdforclub strQuery MSG_NON_RESERVES_SELECTED PREF_NotHighlightedWords PLACE_HOLD _ */
1
/* global KOHA biblionumber new_results_browser addMultiple vShelfAdd openWindow search_result SEARCH_RESULTS PREF_AmazonCoverImages PREF_LocalCoverImages PREF_IntranetCoce PREF_CoceProviders CoceHost CoceProviders addRecord delSingleRecord PREF_BrowseResultSelection resetSearchContext addBibToContext delBibToContext getContextBiblioNumbers MSG_NO_ITEM_SELECTED MSG_NO_ITEM_SELECTED holdfor_cardnumber holdforclub strQuery MSG_NON_RESERVES_SELECTED PREF_NotHighlightedWords PLACE_HOLD __ */
2
2
3
if( PREF_AmazonCoverImages ){
3
if( PREF_AmazonCoverImages ){
4
    $(window).load(function() {
4
    $(window).load(function() {
Lines 338-344 function resultsBatchProcess( op ){ Link Here
338
    if( op == "edit" ){
338
    if( op == "edit" ){
339
        // batch edit selected records
339
        // batch edit selected records
340
        if ( selected.length < 1 ){
340
        if ( selected.length < 1 ){
341
            alert( _("You must select at least one record") );
341
            alert( __("You must select at least one record") );
342
        } else {
342
        } else {
343
            selected.each(function() {
343
            selected.each(function() {
344
                params.push( $(this).val() );
344
                params.push( $(this).val() );
Lines 349-355 function resultsBatchProcess( op ){ Link Here
349
    } else if( op == "delete" ){
349
    } else if( op == "delete" ){
350
        // batch delete selected records
350
        // batch delete selected records
351
        if ( selected.length < 1) {
351
        if ( selected.length < 1) {
352
            alert( _("You must select at least one record") );
352
            alert( __("You must select at least one record") );
353
        } else {
353
        } else {
354
            selected.each(function() {
354
            selected.each(function() {
355
                params.push( $(this).val() );
355
                params.push( $(this).val() );
Lines 360-366 function resultsBatchProcess( op ){ Link Here
360
    } else if( op == "merge" ){
360
    } else if( op == "merge" ){
361
        // merge selected records
361
        // merge selected records
362
        if ( selected.length < 2) {
362
        if ( selected.length < 2) {
363
            alert( _("At least two records must be selected for merging") );
363
            alert( __("At least two records must be selected for merging") );
364
        } else {
364
        } else {
365
            selected.each(function() {
365
            selected.each(function() {
366
                params.push('biblionumber=' + $(this).val());
366
                params.push('biblionumber=' + $(this).val());
367
- 

Return to bug 23349