mirror of https://gitee.com/bigwinds/arangodb
rename
This commit is contained in:
parent
2b10b4c59c
commit
1036e54d1a
|
@ -799,7 +799,7 @@ var logTable = $('#logTableID').dataTable({
|
||||||
else {
|
else {
|
||||||
try {
|
try {
|
||||||
var boxContent = $('#documentEditSourceBox').val();
|
var boxContent = $('#documentEditSourceBox').val();
|
||||||
boxContent = sexmann(boxContent);
|
boxContent = stateReplace(boxContent);
|
||||||
parsedContent = JSON.parse(boxContent);
|
parsedContent = JSON.parse(boxContent);
|
||||||
|
|
||||||
documentEditTable.fnClearTable();
|
documentEditTable.fnClearTable();
|
||||||
|
@ -930,7 +930,7 @@ var logTable = $('#logTableID').dataTable({
|
||||||
else {
|
else {
|
||||||
try {
|
try {
|
||||||
var boxContent = $('#NewDocumentSourceBox').val();
|
var boxContent = $('#NewDocumentSourceBox').val();
|
||||||
boxContent = sexmann(boxContent);
|
boxContent = stateReplace(boxContent);
|
||||||
parsedContent = JSON.parse(boxContent);
|
parsedContent = JSON.parse(boxContent);
|
||||||
|
|
||||||
newDocumentTable.fnClearTable();
|
newDocumentTable.fnClearTable();
|
||||||
|
@ -1970,7 +1970,7 @@ function bytesToSize(bytes, precision) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function sexmann (value) {
|
function stateReplace (value) {
|
||||||
var inString = false;
|
var inString = false;
|
||||||
var length = value.length;
|
var length = value.length;
|
||||||
var position = 0;
|
var position = 0;
|
||||||
|
|
Loading…
Reference in New Issue