fix link replacement (table / one-letter replacement)

This commit is contained in:
lutranf
2014-08-28 10:54:38 +02:00
parent 27df89b0aa
commit 52d117316f
6 changed files with 63 additions and 72 deletions

View File

@@ -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'