Browse Source

fixed www_link to return val if link is not correct

Piotr Labudda 10 years ago
parent
commit
569a9d9632
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SE/se-lib/TableAjax.php

+ 1 - 1
SE/se-lib/TableAjax.php

@@ -896,7 +896,7 @@ class TableAjax extends ViewAjax {
 							var linkErrors = validate({www_link: link}, {www_link: {url: true}});
 							if (linkErrors) {
 								// if(dbg)console.log('linkErrors for (' + link +')', linkErrors);
-								return '';
+								return val;
 							}
 							fldNode = document.createElement('a');
 							fldNode.setAttribute('href', link);