2013-06-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js: fixed the removed the relantionship between items. MERGED FROM THE BRANCH PANDORA_4.0 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
b281382fa3
commit
61dd7402a4
|
@ -1,3 +1,10 @@
|
||||||
|
2013-06-24 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* godmode/reporting/visual_console_builder.editor.js: fixed the
|
||||||
|
removed the relantionship between items.
|
||||||
|
|
||||||
|
MERGED FROM THE BRANCH PANDORA_4.0
|
||||||
|
|
||||||
2013-06-24 Miguel de Dios <miguel.dedios@artica.es>
|
2013-06-24 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* godmode/reporting/visual_console_builder.editor.js: fixed the
|
* godmode/reporting/visual_console_builder.editor.js: fixed the
|
||||||
|
|
|
@ -1343,12 +1343,21 @@ function updateDB_visual(type, idElement , values, event, top, left) {
|
||||||
$("#" + idElement).css('left', '0px').css('left', left + 'px');
|
$("#" + idElement).css('left', '0px').css('left', left + 'px');
|
||||||
}
|
}
|
||||||
$("#" + idElement).css('color', values['label_color']);
|
$("#" + idElement).css('color', values['label_color']);
|
||||||
|
|
||||||
|
//Update the lines
|
||||||
|
end_foreach = false;
|
||||||
found = false;
|
found = false;
|
||||||
jQuery.each(lines, function(i, line) {
|
jQuery.each(lines, function(i, line) {
|
||||||
|
if (end_foreach) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (lines[i]['node_begin'] == idElement) {
|
if (lines[i]['node_begin'] == idElement) {
|
||||||
found = true;
|
found = true;
|
||||||
if (values['parent'] == 0) {
|
if (values['parent'] == 0) {
|
||||||
|
//Erased the line
|
||||||
lines.splice(i);
|
lines.splice(i);
|
||||||
|
end_foreach = true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if ((typeof(values['mov_left']) == 'undefined') &&
|
if ((typeof(values['mov_left']) == 'undefined') &&
|
||||||
|
|
Loading…
Reference in New Issue