Commit 7eec7506 authored by zhengke's avatar zhengke

修改

parent 830b922a
......@@ -21,7 +21,7 @@
<td><label for="href"> <var id="lang_input_url"></var></label></td>
<td><input class="txt" id="href" type="text" /></td>
</tr>
<tr>
<!-- <tr>
<td><label for="title"> <var id="lang_input_title"></var></label></td>
<td><input class="txt" id="title" type="text"/></td>
</tr>
......@@ -30,7 +30,7 @@
<label for="target"><var id="lang_input_target"></var></label>
<input id="target" type="checkbox"/>
</td>
</tr>
</tr> -->
<tr>
<td colspan="2" id="msg"></td>
</tr>
......@@ -64,9 +64,9 @@
}
}
$G("title").value = url ? link.title : "";
// $G("title").value = url ? link.title : "";
$G("href").value = url ? url: '';
$G("target").checked = url && link.target == "_blank" ? true : false;
// $G("target").checked = url && link.target == "_blank" ? true : false;
$focus($G("href"));
function handleDialogOk(){
......@@ -77,8 +77,8 @@
}
var obj = {
'href' : href,
'target' : $G("target").checked ? "_blank" : '_self',
'title' : $G("title").value.replace(/^\s+|\s+$/g, ''),
// 'target' : $G("target").checked ? "_blank" : '_self',
// 'title' : $G("title").value.replace(/^\s+|\s+$/g, ''),
'_href':href
};
//修改链接内容的情况太特殊了,所以先做到这里了
......
......@@ -1219,7 +1219,7 @@ div.edui-box {
}
.edui-default .edui-dialog-buttons .edui-button {
margin-right: 65px;
/* margin-right: 65px; */
}
.edui-default .edui-dialog-buttons .edui-button .edui-button-body {
......@@ -1505,7 +1505,7 @@ div.edui-box {
line-height: 35px;
border-radius: 5px;
font-size: 16px;
margin: 0 40px;
margin: 0 15px;
background: #e6e6e6;
color: #333;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment