Skip to content

Commit

Permalink
100ms -> 200ms default
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbeaty committed Aug 22, 2022
1 parent 2e33abd commit 711291e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Core/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
</web>
<admin>
<design>
<loading_timeout>100</loading_timeout>
<loading_timeout>200</loading_timeout>
</design>
<startup>
<page>dashboard</page>
Expand Down
2 changes: 1 addition & 1 deletion app/code/core/Mage/Core/etc/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@
</use_legacy_theme>
<loading_timeout translate="label comment">
<label>Loading Indicator Timeout</label>
<comment>Number of milliseconds to delay showing the loading indicator. The default value is "100". An empty value disables the delay.</comment>
<comment>Number of milliseconds to delay showing the loading indicator. The default value is "200". An empty value disables the delay.</comment>
<validate>validate-number validate-zero-or-greater</validate>
<sort_order>2</sort_order>
<show_in_default>1</show_in_default>
Expand Down
2 changes: 1 addition & 1 deletion app/locale/en_US/Mage_Core.csv
Original file line number Diff line number Diff line change
Expand Up @@ -442,4 +442,4 @@
"Frontend","Frontend"
"The store view #%d is disabled.","The store view #%d is disabled."
"Loading Indicator Timeout","Loading Indicator Timeout"
"Number of milliseconds to delay showing the loading indicator. The default value is ""100"". An empty value disables the delay.","Number of milliseconds to delay showing the loading indicator. The default value is ""100"". An empty value disables the delay."
"Number of milliseconds to delay showing the loading indicator. The default value is ""200"". An empty value disables the delay.","Number of milliseconds to delay showing the loading indicator. The default value is ""200"". An empty value disables the delay."
2 changes: 1 addition & 1 deletion js/mage/adminhtml/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ varienLoaderHandler.handler = {
}
this.timeout = setTimeout(function() {
Element.childElements('loading-mask').invoke('show');
}, typeof window.LOADING_TIMEOUT === 'undefined' ? 100 : window.LOADING_TIMEOUT);
}, typeof window.LOADING_TIMEOUT === 'undefined' ? 200 : window.LOADING_TIMEOUT);
}
},

Expand Down

0 comments on commit 711291e

Please sign in to comment.