Skip to content

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoBoer committed Nov 30, 2022
1 parent 91bdd28 commit ecdacaa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion editor/js/toolbox.js
Expand Up @@ -4645,7 +4645,6 @@ var EDITOR = (function ($, parent) {
return_data = JSON.parse(data);
var gridId = '#' + return_data.gridId + '_jqgrid';
$(gridId).jqGrid('clearGridData');
//TODO check ik key can be used like this
setAttributeValue(key, [return_data.type], [return_data.csv]);
var rows = readyLocalJgGridData(key, return_data.type);
$(gridId).jqGrid('setGridParam', {data: rows});
Expand Down
2 changes: 1 addition & 1 deletion editor/upload_file_to_jqgrid_template.php
Expand Up @@ -15,7 +15,7 @@
_debug("Session is invalid or expired");
die('{"status": "error", "message": "Session is invalid or expired"}');
}
//TODO test for file

if ($_FILES["file"]["error"] > 0) {
echo "Return Code: " . $_FILES["file"]["error"] . "<br />";
} else {
Expand Down

0 comments on commit ecdacaa

Please sign in to comment.