mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
fixing an issue where tinymce was wrapping content in p tags - messes with my careful layout in my xsls. removing no longer used dojo imports.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3942 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -2,9 +2,6 @@ dojo.require("dojo.widget.DebugConsole");
|
||||
dojo.require("dojo.widget.DatePicker");
|
||||
dojo.require("dojo.widget.Button");
|
||||
dojo.require("dojo.widget.validate");
|
||||
dojo.require("dojo.widget.ComboBox");
|
||||
dojo.require("dojo.widget.Checkbox");
|
||||
dojo.require("dojo.widget.Editor");
|
||||
dojo.require("dojo.widget.Spinner");
|
||||
dojo.require("dojo.lfx.html");
|
||||
dojo.hostenv.writeIncludes();
|
||||
@@ -17,6 +14,7 @@ tinyMCE.init({
|
||||
mode: "exact",
|
||||
width: -1,
|
||||
auto_resize: false,
|
||||
force_p_newlines: false,
|
||||
encoding: null,
|
||||
save_callback: "document.xform.setXFormsValue",
|
||||
add_unload_trigger: false,
|
||||
@@ -375,20 +373,6 @@ dojo.declare("alfresco.xforms.Checkbox",
|
||||
render: function(attach_point)
|
||||
{
|
||||
var initial_value = this.getInitialValue() == "true";
|
||||
// var nodeRef = document.createElement("div");
|
||||
// attach_point.appendChild(nodeRef);
|
||||
|
||||
// this.widget = dojo.widget.createWidget("Checkbox",
|
||||
// {
|
||||
// widgetId: this.id + "-widget",
|
||||
// checked: initial_value
|
||||
// },
|
||||
// nodeRef);
|
||||
//
|
||||
// dojo.event.connect(this.widget,
|
||||
// "onMouseUp",
|
||||
// this,
|
||||
// this._checkBox_mouseUpHandler);
|
||||
this.widget = document.createElement("input");
|
||||
this.widget.setAttribute("type", "checkbox");
|
||||
this.widget.setAttribute("id", this.id + "-widget");
|
||||
@@ -489,10 +473,6 @@ dojo.declare("alfresco.xforms.Group",
|
||||
child.domContainer.style.height = Math.max(contentDiv.offsetHeight, 20) + "px";
|
||||
child.domContainer.style.lineHeight = child.domContainer.style.height;
|
||||
}
|
||||
|
||||
// contentDiv.appendChild(document.createTextNode("ot " + contentDiv.offsetTop +
|
||||
// "st " + contentDiv.style.top));
|
||||
|
||||
contentDiv.style.top = "-" + contentDiv.offsetTop + "px";
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user