<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>重命名</title>
|
[#include "/business/pages/include/static.html" /]
|
</head>
|
<body class="end_task_body widthauto">
|
|
<script type="text/javascript">
|
$(document).ready(function() {
|
$.formValidator.initConfig({formID:"myform",onError:function(msg){popupTips(msg)},onSuccess:function(){
|
document.getElementById("myform").target = window.top.openDialog("1","操作",
|
{},
|
{"width":40,"height":40,"noclose":true},
|
[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
return true;
|
}});
|
$("#name").formValidator({empty:false,onFocus:"请填写名称",onShow:"请填写名称"}).inputValidator({min:1,onError:"请填写名称"});
|
});
|
</script>
|
|
<div class="edit_txt">
|
<form id="myform" action="${base}/business/pages/fileManage/doc/saveFolder.html" method="post">
|
<input type="hidden" name="id" value="${RequestParameters.id}"/>
|
<input type="hidden" name="file_type" value="${RequestParameters.type}"/>
|
<input type="hidden" name="up_id" value="${RequestParameters.up_id}"/>
|
<table class="edit_layout2">
|
<tr>
|
<th><label class="required">文件夹名称:</label></th>
|
<td>
|
<input name="forderName" id="name" type="text" value="${name}" class="general"/>
|
<div id="nameTip" style="display:inline-block;width:180px;"></div>
|
</td>
|
</tr>
|
</table>
|
</form>
|
</div>
|
|
<script type="text/javascript">
|
function onDialogBtnClick(btnID, dialogID, config){
|
if(btnID == "btnSure"){
|
$("#myform").submit();
|
}
|
}
|
</script>
|
|
</body>
|
</html>
|