Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Crumble path corrupted if there is no topmenu (decision template)
- Decision templete didn't work in new editor
  • Loading branch information
torinfo committed Mar 7, 2015
1 parent 7ca59b1 commit d7448e8
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion editor/js/tree.js
Expand Up @@ -460,7 +460,7 @@ var EDITOR = (function ($, parent) {
topmenu = true;
}
}
while (!topmenu || id == 'treeroot');
while (!topmenu && id != 'treeroot');
if (lmenu_options.menu)
{
crumb = lmenu_options.menu + ' > ' + crumb;
Expand Down Expand Up @@ -762,7 +762,26 @@ var EDITOR = (function ($, parent) {
}
}
*/
//finally, do the help, if it exists...
/*
if (nodeInfo.info != undefined){
var comp = addComponent(TextArea, {_x:250, _y:ctrlY + 20, html:true, wordWrap:true, hScrollPolicy:'off'});
comp.setSize(540, 576 - ctrlY + 20 - 50); //to the bottom of the form
comp.setStyle('color', 0x0066CC);
comp.setStyle('backgroundColor', 0xE0E0E0);
comp.setStyle('borderStyle', 'none');
var helpStr = '<font color="#0066CC">' + nodeInfo.info + '</font>';
//append the image src...
if (wizard.nfoObject.wizard[obj.target.selectedNode.nodeName].info.image != undefined){
helpStr += '<img src= "' + nodeInfo.info.image + '"/>'
}
comp.text = helpStr;
}
*/
//$('textarea.ckeditor').ckeditor(function(){}, { customConfig: 'config.js' });
//$('textarea.ckeditor').ckeditor();
toolbox.convertTextAreas();
Expand Down

0 comments on commit d7448e8

Please sign in to comment.