Bug 31435: (follow-up) Make kohaTable calls consistent
Our calls to instantiate a kohaTable from JS were inconsistent in how they pass table_settings where no table_settings exist. This patch replaces empty arrays and empty hashrefs with a consistent 'null' being passed to ake it clear we don't have any settings to pass yet. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
37c5cfb258
commit
6c7c93675e
4 changed files with 4 additions and 4 deletions
|
@ -640,7 +640,7 @@
|
|||
"searchable": false
|
||||
}
|
||||
]
|
||||
}, {}, 1, {"basket.vendor_id": [% booksellerid | html %]});
|
||||
}, null, 1, {"basket.vendor_id": [% booksellerid | html %]});
|
||||
|
||||
$(".previewData").on("click", function(e){
|
||||
e.preventDefault();
|
||||
|
|
|
@ -383,7 +383,7 @@
|
|||
$(row).addClass('debug');
|
||||
}
|
||||
},
|
||||
});
|
||||
}, null, 0);
|
||||
|
||||
$('#smtp_servers').on( "click", '.delete_server', function () {
|
||||
var smtp_server_id = $(this).data('smtp-server-id');
|
||||
|
|
|
@ -460,7 +460,7 @@
|
|||
"orderable": false
|
||||
}
|
||||
]
|
||||
}, [], 1);
|
||||
}, null, 1);
|
||||
</script>
|
||||
[% END %]
|
||||
|
||||
|
|
|
@ -213,7 +213,7 @@
|
|||
"orderable": false
|
||||
},
|
||||
]
|
||||
});
|
||||
}, null, 0);
|
||||
|
||||
$('#quotes').on( "click", '.delete_quote', function () {
|
||||
var quote_id = decodeURIComponent($(this).data('quote-id'));
|
||||
|
|
Loading…
Reference in a new issue