Coupure prévue mardi 3 Août au matin pour maintenance du serveur. Nous faisons au mieux pour que celle-ci soit la plus brève possible.

Commit 42739389 authored by Anze Vavpetic's avatar Anze Vavpetic
Browse files

fixed crash when no changes were made to a table.

parent 06572994
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
$(function () { $(function () {
$(document).ready(function() { $(document).ready(function() {
var alteredCells = {}; var alteredCells = {};
$('#alteredCells{{widget.pk}}').val(JSON.stringify(alteredCells));
var oTable = $('#datasetTable{{widget.pk}}').dataTable( { var oTable = $('#datasetTable{{widget.pk}}').dataTable( {
"bSortCellsTop" : true, "bSortCellsTop" : true,
"bJQueryUI": true, "bJQueryUI": true,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment