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

(-)a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/humanmsg.js (-1 lines)
Lines 75-81 var humanMsg = { Link Here
75
	bindEvents: function() {
75
	bindEvents: function() {
76
	// Remove message if mouse is moved or key is pressed
76
	// Remove message if mouse is moved or key is pressed
77
		jQuery(document)
77
		jQuery(document)
78
			.mousemove(humanMsg.removeMsg)
79
			.click(humanMsg.removeMsg)
78
			.click(humanMsg.removeMsg)
80
			.keypress(humanMsg.removeMsg)
79
			.keypress(humanMsg.removeMsg)
81
	},
80
	},
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt (+3 lines)
Lines 8-13 Link Here
8
    #fileuploadstatus,#fileuploadfailed,#fileuploadcancel,#jobpanel,#jobstatus,#jobfailed { display : none; }
8
    #fileuploadstatus,#fileuploadfailed,#fileuploadcancel,#jobpanel,#jobstatus,#jobfailed { display : none; }
9
</style>
9
</style>
10
10
11
[% Asset.css("css/humanmsg.css") %]
12
11
</head>
13
</head>
12
<body id="tools_stage-marc-import" class="tools">
14
<body id="tools_stage-marc-import" class="tools">
13
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'header.inc' %]
Lines 213-218 Link Here
213
    [% Asset.js("js/tools-menu.js") | $raw %]
215
    [% Asset.js("js/tools-menu.js") | $raw %]
214
    [% Asset.js("js/background-job-progressbar.js") | $raw %]
216
    [% Asset.js("js/background-job-progressbar.js") | $raw %]
215
    [% Asset.js("js/file-upload.js") | $raw %]
217
    [% Asset.js("js/file-upload.js") | $raw %]
218
    [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
216
    <script>
219
    <script>
217
        var xhr;
220
        var xhr;
218
        $(document).ready(function(){
221
        $(document).ready(function(){
(-)a/koha-tmpl/intranet-tmpl/prog/js/background-job-progressbar.js (-2 / +1 lines)
Lines 69-75 function submitBackgroundJob(f) { Link Here
69
                backgroundJobProgressTimer = setInterval("updateJobProgress()", 500);
69
                backgroundJobProgressTimer = setInterval("updateJobProgress()", 500);
70
            },
70
            },
71
            error: function(xml, textStatus) {
71
            error: function(xml, textStatus) {
72
                alert('Failed to submit form: ' + textStatus);
72
                humanMsg.displayMsg( '<p>' + _('Failed to submit form: ') + textStatus + '</p></br>'+xml.responseText, { className: 'humanError' } );
73
            }
73
            }
74
74
75
        });
75
        });
76
- 

Return to bug 19417