cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gabr...@apache.org
Subject [cloudstack] branch master updated: Fix UI bug (#3149)
Date Wed, 30 Jan 2019 17:47:51 GMT
This is an automated email from the ASF dual-hosted git repository.

gabriel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/master by this push:
     new 00e6d59  Fix UI bug (#3149)
00e6d59 is described below

commit 00e6d5991d440fd13df2b02c3f68e637b5dac76a
Author: Frank Maximus <the.evergreen@gmail.com>
AuthorDate: Wed Jan 30 18:47:42 2019 +0100

    Fix UI bug (#3149)
    
    Upgrade to jquery 3.3.1: $('selector').context was deprecated,
    and has been removed.
    
    Fixes: #3148
---
 ui/scripts/configuration.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js
index 8fc8218..de8f472 100644
--- a/ui/scripts/configuration.js
+++ b/ui/scripts/configuration.js
@@ -3001,9 +3001,9 @@
                                                                                 });
                                                                             }
                                                                         } else { //canenableindividualservice
== true
-                                                                            if ($thisProviderDropdown.context.name
in providerDropdownsForciblyChangedTogether) { //if this provider dropdown is one of provider
dropdowns forcibly changed together earlier, make other forcibly changed provider dropdowns
restore default option (i.e. 1st option in dropdown)
+                                                                            if (this.name
in providerDropdownsForciblyChangedTogether) { //if this provider dropdown is one of provider
dropdowns forcibly changed together earlier, make other forcibly changed provider dropdowns
restore default option (i.e. 1st option in dropdown)
                                                                                 for (var
key in providerDropdownsForciblyChangedTogether) {
-                                                                                    if (key
== $thisProviderDropdown.context.name)
+                                                                                    if (key
== this.name)
                                                                                         continue;
//skip to next item in for loop
                                                                                     else
                                                                                         $("select[name='"
+ key + "'] option:first").attr("selected", "selected");


Mime
View raw message