소스 검색

fixed www_link to return val if link is not correct

Piotr Labudda 10 년 전
부모
커밋
569a9d9632
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);