浏览代码

HUE-6579 [security] Hard reset the security app contents

Enrico Berti 8 年之前
父节点
当前提交
230f21d
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      desktop/core/src/desktop/templates/hue.mako

+ 6 - 0
desktop/core/src/desktop/templates/hue.mako

@@ -750,6 +750,12 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
           if (app.startsWith('oozie')) {
             huePubSub.clearAppSubscribers('oozie');
           }
+          if (app.startsWith('security')) {
+            $('#embeddable_security_hive').html('');
+            $('#embeddable_security_hdfs').html('');
+            $('#embeddable_security_hive2').html('');
+            $('#embeddable_security_solr').html('');
+          }
           if (SKIP_CACHE.indexOf(app) > -1) {
             $('#embeddable_' + app).html('');
           }