CC-4688: System -> Preferences: Please expand the Soundcloud settings if warning for wrong settings exists
-fixed
This commit is contained in:
parent
8094a29c3f
commit
ef8f8dfa75
|
@ -1,5 +1,4 @@
|
||||||
function showErrorSections() {
|
function showErrorSections() {
|
||||||
|
|
||||||
if($("#soundcloud-settings .errors").length > 0) {
|
if($("#soundcloud-settings .errors").length > 0) {
|
||||||
$("#soundcloud-settings").show();
|
$("#soundcloud-settings").show();
|
||||||
$(window).scrollTop($("#soundcloud-settings .errors").position().top);
|
$(window).scrollTop($("#soundcloud-settings .errors").position().top);
|
||||||
|
@ -97,6 +96,7 @@ $(document).ready(function() {
|
||||||
var json = $.parseJSON(data);
|
var json = $.parseJSON(data);
|
||||||
$('#content').empty().append(json.html);
|
$('#content').empty().append(json.html);
|
||||||
setTimeout(removeSuccessMsg, 5000);
|
setTimeout(removeSuccessMsg, 5000);
|
||||||
|
showErrorSections();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue