Show error message if image exceeds limit + fix close button
This commit is contained in:
parent
933f43218a
commit
780d1edf04
|
@ -176,6 +176,7 @@ var FileBrowser = {
|
|||
},
|
||||
onComplete: function(file,response) {
|
||||
if (response['error'] != undefined) {
|
||||
$(".fbrowser-content").show();
|
||||
$(".error span").html(response['error']);
|
||||
$(".error").removeClass('hidden');
|
||||
$(".fbrowser .profile-rotator-wrapper").hide();
|
||||
|
|
|
@ -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