* Fix from Alexei in HREF tag dialog

git-svn-id: trunk@27436 -
This commit is contained in:
michael 2010-09-22 18:32:15 +00:00
parent 2c8f9466a1
commit 38b49f7569

View File

@ -170,14 +170,16 @@ function TfpWebHREFEditForm.HtmlText: string;
begin
//<A href="work/ProgectManager/www_ui/html_template/pmQuestionStatusEdit.html" name="srger" rel="Contents" type="text/html" target="_self"></A>
Result:='<a href="'+cbHREF.Text;
Result:='<a';
if cbHREF.Text<>'' then
Result:=Result + ' href="'+cbHREF.Text+'"';
if edtLinkName.Text <> '' then
Result:=Result + ' name="'+edtLinkName.Text+'"';
if cbType.Text <> '' then
Result:=Result + ' type="'+cbType.Text+'"';
if cbTarg.Text <> '' then
Result:=Result + ' target="'+cbTarg.Text+'"';
Result:=Result + '">'+edtLinkText.Text+'</a>';
Result:=Result + '>'+edtLinkText.Text+'</a>';
end;
end.