Merge pull request #6045 from JonnyTischbein/issue_fbrowser-error-msg
[frio] Show error message on image upload
This commit is contained in:
commit
92c9c940f4
2 changed files with 3 additions and 1 deletions
|
@ -179,6 +179,7 @@ var FileBrowser = {
|
|||
$(".error span").html(response['error']);
|
||||
$(".error").removeClass('hidden');
|
||||
$(".fbrowser .profile-rotator-wrapper").hide();
|
||||
$(".fbrowser-content").show();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -209,6 +210,7 @@ var FileBrowser = {
|
|||
$(".error span").html(response['error']);
|
||||
$(".error").removeClass('hidden');
|
||||
$('#profile-rotator').hide();
|
||||
$(".fbrowser-content").show();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<input id="fb-type" type="hidden" name="type" value="{{$type}}" />
|
||||
|
||||
<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>
|
||||
|
||||
{{* The breadcrumb navigation *}}
|
||||
|
|
Loading…
Reference in a new issue