Malishev Dmitry 14 lat temu
rodzic
commit
d97365d46e
2 zmienionych plików z 7 dodań i 1 usunięć
  1. 6 0
      web/js/actions.js
  2. 1 1
      web/js/templates.js

+ 6 - 0
web/js/actions.js

@@ -627,6 +627,12 @@ App.Actions.view_full_ns_list = function(evt)
     App.Helpers.openInnerPopup(elm, $(elm).parents('.prop-box').find('.ns-full-list:first').html(), 'Name Server list');    
 }
 
+App.Actions.view_full_web_templates = function(evt)
+{
+    var elm = $(evt.target);
+    App.Helpers.openInnerPopup(elm, $(elm).parents('.prop-box').find('.ns-full-list:first').html(), 'Web Templates list');    
+}
+
 App.Actions.view_template_info = function(evt)
 {
     var elm = $(evt.target);

+ 1 - 1
web/js/templates.js

@@ -362,7 +362,7 @@ App.Templates.html = {
     user: {
         WEB_TPL_MINIMIZED: ['~!:WEB_TPL_MINI~!\
                         <span class="group-switcher">\
-                            <span class="group-values-count do_action_view_full_ns_list">~!:MORE_NUMBER~! more</span>\
+                            <span class="group-values-count do_action_view_full_web_templates">~!:MORE_NUMBER~! more</span>\
                         </span><span class="hidden ns-full-list"><span class="group-values">~!:WEB_TPL_FULL~!</span></span>'],
         WEB_TPL: ['<span class="prop-value">~!:NAME~!</span>'],
         NS_MINIMIZED: ['~!:NS_MINI~!\