Skip to content

Commit c8e5599

Browse files
author
Rafael Grigorian
committed
Fixed #108
1 parent 4186dc2 commit c8e5599

File tree

1 file changed

+3
-1
lines changed
  • src/skin/adminhtml/base/default/js/cloudflare

1 file changed

+3
-1
lines changed

src/skin/adminhtml/base/default/js/cloudflare/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ $(window).on ( "load", function () {
3939
oldAjax.apply ( null, arguments )
4040
}
4141

42-
cloudflare.loadSections ()
42+
cloudflare.loadSections (".overview")
4343

4444
$(".proxied").each ( ( index ) => {
4545
$(this).data ( "value", /proxied_on/.test ( $(this).attr ("src") ) )
@@ -137,4 +137,6 @@ $(document).on ( "click", ".cloudflare-dashboard ul.tabs li", function () {
137137
$(".cloudflare-dashboard .tabs li").removeClass ("selected")
138138
$(`.cloudflare-dashboard .content[data-target='${target}']`).addClass ("selected")
139139
$(this).addClass ("selected")
140+
$(`.initialize.${target}`).addClass ("loading")
141+
cloudflare.loadSections (`.${target}`)
140142
})

0 commit comments

Comments
 (0)