|
|
@@ -30,7 +30,6 @@ include($_SERVER['DOCUMENT_ROOT'] . "/Authorization/script/php/permission/check_
|
|
|
var $grid;
|
|
|
|
|
|
pageHeader = "元件庫";
|
|
|
-
|
|
|
</script>
|
|
|
</head>
|
|
|
|
|
|
@@ -105,6 +104,14 @@ include($_SERVER['DOCUMENT_ROOT'] . "/Authorization/script/php/permission/check_
|
|
|
$("#content").append("<h3>到BIM程式庫下載拖放元件API,並參考操作方式以進行元件放置動作</h3>");
|
|
|
$("#content").css("padding", "0");
|
|
|
$("#content").css("text-align", "center");
|
|
|
+
|
|
|
+ $("a").each(function() {
|
|
|
+ if ($(this).context.name != "" && $(this).context.className == "menu-item" && $(this).context.name != parent) {
|
|
|
+ //其他大項類別不要產生ul
|
|
|
+ $(this).closest("ul").remove();
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
} else {
|
|
|
$.when(initThreeJS()).then(function() {
|
|
|
|
|
|
@@ -180,17 +187,17 @@ include($_SERVER['DOCUMENT_ROOT'] . "/Authorization/script/php/permission/check_
|
|
|
} else {
|
|
|
$(this).context.removeAttribute("href");
|
|
|
}
|
|
|
- }else if($(this).context.name != "" && $(this).context.className == "menu-item" &&$(this).context.name != parent){
|
|
|
+ } else if ($(this).context.name != "" && $(this).context.className == "menu-item" && $(this).context.name != parent) {
|
|
|
//其他大項類別不要產生ul
|
|
|
$(this).closest("ul").remove();
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
});
|