快捷回复中,设置回复框的高度和宽度
This commit is contained in:
parent
4b95ee95c0
commit
c857fb734b
|
@ -58,7 +58,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
init_activity_KindEditor_data(<%= @topic.id%>,null,"85%", "<%=@topic.class.to_s%>");
|
init_activity_KindEditor_data(<%= @topic.id%>,null,"94%", "<%=@topic.class.to_s%>");
|
||||||
showNormalImage('message_description_<%= @topic.id %>');
|
showNormalImage('message_description_<%= @topic.id %>');
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1032,6 +1032,7 @@ function subfield_click(){
|
||||||
$(".orgDirection").text(orgDirection + sendText + " / " + sendColumn);
|
$(".orgDirection").text(orgDirection + sendText + " / " + sendColumn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//send_type:发送的类型,file对应文件,message对应帖子,news对应通知或新闻
|
||||||
function observeSearchfieldOnInput(fieldId, url,send_id,send_ids, send_type) {
|
function observeSearchfieldOnInput(fieldId, url,send_id,send_ids, send_type) {
|
||||||
$('#'+fieldId).each(function() {
|
$('#'+fieldId).each(function() {
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
|
@ -1107,6 +1108,7 @@ function show_send(id, user_id, send_type){
|
||||||
|
|
||||||
//id 发送的id
|
//id 发送的id
|
||||||
//发送的id数组
|
//发送的id数组
|
||||||
|
//send_type:发送的类型,file对应文件,message对应帖子,news对应通知或新闻
|
||||||
function chooseSendType(res_id,res_ids, user_id, send_type){
|
function chooseSendType(res_id,res_ids, user_id, send_type){
|
||||||
|
|
||||||
sendType = $(".resourcesSendType").val();
|
sendType = $(".resourcesSendType").val();
|
||||||
|
@ -1136,6 +1138,7 @@ function chooseSendType(res_id,res_ids, user_id, send_type){
|
||||||
lastSendType = sendType;
|
lastSendType = sendType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//组织新建和配置中,选择组织为私有后,disbled掉允许游客下载选项
|
||||||
function disable_down(source, des, hint){
|
function disable_down(source, des, hint){
|
||||||
if (source.attr("checked")){
|
if (source.attr("checked")){
|
||||||
des.attr("disabled", false);
|
des.attr("disabled", false);
|
||||||
|
|
|
@ -10,16 +10,16 @@ function sd_create_editor(params){
|
||||||
resizeType : 1,minWidth:"1px",width:"94%",
|
resizeType : 1,minWidth:"1px",width:"94%",
|
||||||
height:"33px",// == undefined ? "30px":paramsHeight+"px",
|
height:"33px",// == undefined ? "30px":paramsHeight+"px",
|
||||||
minHeight:"33px",// == undefined ? "30px":paramsHeight+"px",
|
minHeight:"33px",// == undefined ? "30px":paramsHeight+"px",
|
||||||
|
width:params.width,
|
||||||
items:['emoticons','fontname',
|
items:['emoticons','fontname',
|
||||||
'forecolor', 'hilitecolor', 'bold', '|', 'justifyleft', 'justifycenter', 'insertorderedlist','insertunorderedlist', '|',
|
'forecolor', 'hilitecolor', 'bold', '|', 'justifyleft', 'justifycenter', 'insertorderedlist','insertunorderedlist', '|',
|
||||||
'formatblock', 'fontsize', '|','indent', 'outdent',
|
'formatblock', 'fontsize', '|','indent', 'outdent',
|
||||||
'|','imagedirectupload'],
|
'|','imagedirectupload'],
|
||||||
afterChange:function(){//按键事件
|
afterChange:function(){//按键事件
|
||||||
|
|
||||||
var edit = this.edit;
|
var edit = this.edit;
|
||||||
var body = edit.doc.body;
|
var body = edit.doc.body;
|
||||||
edit.iframe.height(paramsHeight);
|
edit.iframe.height(paramsHeight);
|
||||||
this.resize(null, Math.max((params.kindutil.IE ? body.scrollHeight : (params.kindutil.GECKO ? body.offsetHeight+26:body.offsetHeight)) , paramsHeight));
|
//this.resize(null, Math.max((params.kindutil.IE ? body.scrollHeight : (params.kindutil.GECKO ? body.offsetHeight+26:body.offsetHeight)) , paramsHeight));
|
||||||
},
|
},
|
||||||
afterBlur:function(){
|
afterBlur:function(){
|
||||||
//params.toolbar_container.hide();
|
//params.toolbar_container.hide();
|
||||||
|
|
Loading…
Reference in New Issue