Merge pull request #6045 from JonnyTischbein/issue_fbrowser-error-msg
[frio] Show error message on image upload
This commit is contained in:
commit
92c9c940f4
|
@ -179,6 +179,7 @@ var FileBrowser = {
|
||||||
$(".error span").html(response['error']);
|
$(".error span").html(response['error']);
|
||||||
$(".error").removeClass('hidden');
|
$(".error").removeClass('hidden');
|
||||||
$(".fbrowser .profile-rotator-wrapper").hide();
|
$(".fbrowser .profile-rotator-wrapper").hide();
|
||||||
|
$(".fbrowser-content").show();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -209,6 +210,7 @@ var FileBrowser = {
|
||||||
$(".error span").html(response['error']);
|
$(".error span").html(response['error']);
|
||||||
$(".error").removeClass('hidden');
|
$(".error").removeClass('hidden');
|
||||||
$('#profile-rotator').hide();
|
$('#profile-rotator').hide();
|
||||||
|
$(".fbrowser-content").show();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<input id="fb-type" type="hidden" name="type" value="{{$type}}" />
|
<input id="fb-type" type="hidden" name="type" value="{{$type}}" />
|
||||||
|
|
||||||
<div class="error hidden">
|
<div class="error hidden">
|
||||||
<span></span> <button type="button" class="btn btn-link" class="close" aria-label="Close">X</a>
|
<span></span> <button type="button" class="btn btn-link close" aria-label="Close">X</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{* The breadcrumb navigation *}}
|
{{* The breadcrumb navigation *}}
|
||||||
|
|
Loading…
Reference in a new issue