fixing internal links in table

This commit is contained in:
2014-08-30 12:04:57 +02:00
parent 7adbc1c356
commit 28f2dabde5
5 changed files with 37 additions and 12 deletions

View File

@@ -101,7 +101,7 @@ Table.prototype.applyTableInfo = function()
{
if(sKey=='warning' && sValue!='') databap.addWarningBefore(sValue, tableself.sFeedBackBoxId);
//debug('key='+sKey+', value='+sValue);
$('#read_'+sKey).html(sValue.replace(/(?:\r\n|\r|\n)/g, '<br />'));
$('#read_'+sKey).html(sValue); //sValue.replace(/(?:\r\n|\r|\n)/g, '<br />')
$('#'+sKey).val(sValue);
});
tableself.setDisplay(tableself.DISPLAY_READ);