2024-06-06, 06:52 PM
(This post was last modified: 2024-06-06, 07:12 PM by HLFadmin. Edited 1 time in total.
Edit Reason: changed to distinguish edit modes.
)
Spinner appears briefly when editing a post with Quick Edit. Full Edit does not since the entire page is refreshed.
I have not dug into the code to see where it is called, but it appears between clicking Save Changes and the post refresh.
Perhaps between database update and commit then query to refresh.
Quick glance shows no difference in grep output between 1.8.37 and 1.8.38
A little deeper with grep -r "spinner" shows use of prefixes before spinner, indicates where you are likely to see it invoked.
quickreply_
mquote_
qreply_
mini_
.showthread_
.modal_
this.
I have not dug into the code to see where it is called, but it appears between clicking Save Changes and the post refresh.
Perhaps between database update and commit then query to refresh.
Quick glance shows no difference in grep output between 1.8.37 and 1.8.38
~/Downloads/mybb_1838/Upload$ grep -r "spinner.gif"
jscripts/select2/select2.css: background: #fff url('select2-spinner.gif') no-repeat 100%;
jscripts/select2/select2.css: background: url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
jscripts/select2/select2.css: background: url('select2-spinner.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
jscripts/select2/select2.css: background: url('select2-spinner.gif') no-repeat 100%, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
jscripts/select2/select2.css: background: url('select2-spinner.gif') no-repeat 100%, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
jscripts/select2/select2.css: background: #f4f4f4 url('select2-spinner.gif') no-repeat 100%;
jscripts/select2/select2.css: background: #fff url('select2-spinner.gif') no-repeat 100% !important;
admin/jscripts/themes.js: miniSpinnerImage: "../images/spinner.gif",
admin/inc/functions_themes.php: md5('.validation_loading') => array("class_name" => '.validation_loading', "values" => "background: url(images/spinner.gif) no-repeat center left;\n\tcolor: #555;\n\tmargin: 5px 0;\n\tpadding: 5px;\n\tfont-weight: bold;\n\tfont-size: 11px;\n\tpadding-left: 22px;"),
install/resources/mybb_theme.xml:<div id="quickreply_spinner" class="showthread_spinner" style="display: none"><img src="{$theme['imgdir']}/spinner.gif" /></div>
install/resources/mybb_theme.xml: var spinner_image = "{$theme['imgdir']}/spinner.gif";
A little deeper with grep -r "spinner" shows use of prefixes before spinner, indicates where you are likely to see it invoked.
quickreply_
mquote_
qreply_
mini_
.showthread_
.modal_
this.