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

(-)a/koha-tmpl/intranet-tmpl/prog/en/js/ajax.js (-3 / +2 lines)
Lines 37-43 KOHA.AJAX = { Link Here
37
            .attr( 'disabled', 'disabled' )
37
            .attr( 'disabled', 'disabled' )
38
            .each( function () {
38
            .each( function () {
39
                var $image = $( '<img src="/intranet-tmpl/prog/img/spinner-small.gif" alt="" class="spinner" />' );
39
                var $image = $( '<img src="/intranet-tmpl/prog/img/spinner-small.gif" alt="" class="spinner" />' );
40
                switch ( this.localName.toLowerCase() ) {
40
                switch ( this.nodeName.toLowerCase() ) {
41
                    case 'input':
41
                    case 'input':
42
                        $( this ).data( 'original-text', this.value );
42
                        $( this ).data( 'original-text', this.value );
43
                        this.value = text;
43
                        this.value = text;
Lines 62-68 KOHA.AJAX = { Link Here
62
        $( selector )
62
        $( selector )
63
            .removeAttr( 'disabled' )
63
            .removeAttr( 'disabled' )
64
            .each( function () {
64
            .each( function () {
65
                switch ( this.localName.toLowerCase() ) {
65
                switch ( this.nodeName.toLowerCase() ) {
66
                    case 'input':
66
                    case 'input':
67
                        this.value = $( this ).data( 'original-text' );
67
                        this.value = $( this ).data( 'original-text' );
68
                        break;
68
                        break;
69
- 

Return to bug 6010