mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
Add order in parent select in static graph in visual console, Tiquet: #2067
(cherry picked from commit 790c81a25082cd3353912d69f03f204bd2c885bb)
This commit is contained in:
parent
c235c17ec4
commit
2e51480f58
@ -809,7 +809,7 @@ function cleanFields(item) {
|
|||||||
tinymce.get('text-label').setContent("(_VALUE_)");
|
tinymce.get('text-label').setContent("(_VALUE_)");
|
||||||
}
|
}
|
||||||
|
|
||||||
fill_parent_select();
|
//fill_parent_select();
|
||||||
|
|
||||||
var anyText = $("#any_text").html(); //Trick for catch the translate text.
|
var anyText = $("#any_text").html(); //Trick for catch the translate text.
|
||||||
$("#module")
|
$("#module")
|
||||||
|
@ -2304,7 +2304,8 @@ function visual_map_create_internal_name_item($label = null, $type, $image, $age
|
|||||||
}
|
}
|
||||||
|
|
||||||
function visual_map_get_items_parents($idVisual) {
|
function visual_map_get_items_parents($idVisual) {
|
||||||
$items = db_get_all_rows_filter('tlayout_data',array('id_layout' => $idVisual));
|
$items = db_get_all_rows_sql(sprintf("SELECT * FROM tlayout_data where id_layout = %s order by label",$idVisual));
|
||||||
|
//$items = db_get_all_fields_in_table('tlayout_data',array('id_layout' => $idVisual));
|
||||||
if ($items == false) {
|
if ($items == false) {
|
||||||
$items = array();
|
$items = array();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user