Commit adb6a1dc authored by clone's avatar clone

BUG

parent 5e1fca10
...@@ -19,7 +19,8 @@ if (!function_exists('create_editor')) { ...@@ -19,7 +19,8 @@ if (!function_exists('create_editor')) {
if (!empty($config)) { if (!empty($config)) {
$_config = array_merge($_config, $config); $_config = array_merge($_config, $config);
} }
$CKEditor->editor("describe", $value, $_config); //$CKEditor->editor("describe", $value, $_config);
$CKEditor->editor($id,$value,$_config);
} }
} }
......
...@@ -324,7 +324,7 @@ ...@@ -324,7 +324,7 @@
<!--<label for="" style="width: 100%;">内容</label>--> <!--<label for="" style="width: 100%;">内容</label>-->
<div class="input-group" style="width: 100%;" id="dajiangtang"> <div class="input-group" style="width: 100%;" id="dajiangtang">
<?php <?php
create_editor('describe'); create_editor('goods_sup_id','');
?> ?>
</div> </div>
</div> </div>
...@@ -434,7 +434,7 @@ ...@@ -434,7 +434,7 @@
<!--<label for="" style="width: 100%;">内容</label>--> <!--<label for="" style="width: 100%;">内容</label>-->
<div class="input-group" style="width: 100%;" id="dajiangtang"> <div class="input-group" style="width: 100%;" id="dajiangtang">
<?php <?php
create_editor('describe'); create_editor('goods_sup_id','');
?> ?>
</div> </div>
</div> </div>
......
...@@ -402,7 +402,9 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde ...@@ -402,7 +402,9 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde
var _urlCut = location.origin + '/resource/lib/Attachments/images/';//要截取的部分url var _urlCut = location.origin + '/resource/lib/Attachments/images/';//要截取的部分url
var _dajiangtangObj = $('#dajiangtang'); //大讲堂 var _dajiangtangObj = $('#dajiangtang'); //大讲堂
var _dajiangtangVal = _dajiangtangObj.find('iframe').contents().find('body').html(); var _dajiangtangVal = _dajiangtangObj.find('iframe').contents().find('body').html();
console.log(_dajiangtangVal); console.log( getCKeditorValue("goods_sup_id"));
return false;
if(_liebiaoPicObj.length < 1) { if(_liebiaoPicObj.length < 1) {
alert('列表页封面图需要上传'); alert('列表页封面图需要上传');
......
var global = {
'attach_prefix' : '/public/resource/lib/Attachments/'
}
function BrowseServer(input_image,fun ) function BrowseServer(input_image,fun )
{ {
......
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