mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 03:42:52 +09:00
(cherry picked from commit 69ddfc18d6)
This commit is contained in:
1 parent
2554bbdd85
commit
504a58d017
2 files changed
+8
-8
No files matched your search
@@ -119,8 +119,8 @@ define(function(require) {
|
||||
}
|
||||
});
|
||||
|
||||
context.off("change", "#table_order_select")
|
||||
context.on("change", "#table_order_select", function() {
|
||||
context.off("click", "#table_order_select")
|
||||
context.on("click", "#table_order_select", function() {
|
||||
var sunstone_setting = {TABLE_ORDER : $(this).val()};
|
||||
Sunstone.runAction("User.append_sunstone_setting_refresh", that.element.ID, sunstone_setting);
|
||||
});
|
||||
@@ -137,8 +137,8 @@ define(function(require) {
|
||||
}
|
||||
});
|
||||
|
||||
context.off("change", "#language_select")
|
||||
context.on("change", "#language_select", function() {
|
||||
context.off("click", "#language_select")
|
||||
context.on("click", "#language_select", function() {
|
||||
var sunstone_setting = {LANG : $(this).val()};
|
||||
Sunstone.runAction("User.append_sunstone_setting_refresh", that.element.ID, sunstone_setting);
|
||||
});
|
||||
@@ -160,8 +160,8 @@ define(function(require) {
|
||||
}
|
||||
});
|
||||
|
||||
context.off("change", "#view_select")
|
||||
context.on("change", "#view_select", function() {
|
||||
context.off("click", "#view_select")
|
||||
context.on("click", "#view_select", function() {
|
||||
var sunstone_setting = {DEFAULT_VIEW : $(this).val()};
|
||||
Sunstone.runAction("User.append_sunstone_setting_refresh", that.element.ID, sunstone_setting);
|
||||
});
|
||||
|
||||
@@ -55,8 +55,8 @@ define(function(require) {
|
||||
});
|
||||
});
|
||||
|
||||
context.off("change", ".value_td_cluster .resource_list_select");
|
||||
context.on("change", ".value_td_cluster .resource_list_select", function() {
|
||||
context.off("click", ".value_td_cluster .resource_list_select");
|
||||
context.on("click", ".value_td_cluster .resource_list_select", function() {
|
||||
var newClusterId = $(this).val();
|
||||
if (newClusterId != "") {
|
||||
Sunstone.runAction(resourceType + ".addtocluster", [resourceId], newClusterId);
|
||||
|
||||
Reference in new issue
Block a user