fix link replacement (table / one-letter replacement)
This commit is contained in:
@@ -109,7 +109,6 @@ function loadDoc(iDocId, fOnSuccess)
|
||||
{id:iDocId},
|
||||
'json'
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
function saveDoc()
|
||||
@@ -122,7 +121,11 @@ function saveDoc()
|
||||
databap.getMainElem('#doc_form'),
|
||||
function(data)
|
||||
{
|
||||
if(data.result == 'success') databap.goToInternalLink('doc', data.doc_id);
|
||||
if(data.result == 'success')
|
||||
{
|
||||
databap.tmp('started', false);
|
||||
databap.goToInternalLink('doc', data.doc_id);
|
||||
}
|
||||
},
|
||||
true,
|
||||
'json'
|
||||
|
||||
@@ -65,10 +65,7 @@ function Table(oTable)
|
||||
$('#validation').addButton('dummy', '', function(){}, this.ACTION_BTN_ID, '', this.ACTION_BTN_ID);
|
||||
this.$Button = databap.tmp(this.ACTION_BTN_ID);
|
||||
|
||||
if(this.iTableId>0 || this.sTableName!='')
|
||||
{
|
||||
this.applyTableInfo();
|
||||
}
|
||||
if(this.iTableId>0 || this.sTableName!='') this.applyTableInfo();
|
||||
else this.setDisplay(this.DISPLAY_EDIT);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user