Browse Source

HUE-8217 [dashboard] Fix HTML resultset widget templating

Enrico Berti 7 years ago
parent
commit
23bd00d33a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

@@ -2740,7 +2740,7 @@
       if (_enc.find("style").length > 0) {
         var parser = new less.Parser();
         $(_enc.find("style")).each(function (cnt, item) {
-          var _less = "#result-container {" + $(item).text() + "}";
+          var _less = ".result-container {" + $(item).text() + "}";
           try {
             parser.parse(_less, function (err, tree) {
               $(item).text(tree.toCSS());