Skip to content

Commit 0a76845

Browse files
committed
Fixes #1367 + bugs
1 parent b60e8b2 commit 0a76845

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

module/Administration/public/assets/js/models.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,4 +354,8 @@ var models = function(url, urlapp){
354354
displayMessages(data);
355355
});
356356
});
357+
358+
$('#add-alert, #add-file, #action-container').on('hidden.bs.modal', function(e){
359+
$('body').addClass('modal-open');
360+
});
357361
};

module/Administration/view/administration/categories/fields.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
echo "<td>".$field->getType()->getName()."</td>";
2727
echo "<td>";
2828
if(!$this->isMultipleAllowed($field)){
29-
echo '<span class="glyphicon glyphicon-grey icon-remove"></span>';
29+
echo '<span class="glyphicon glyphicon-remove" style="color:lightgrey"></span>';
3030
} else {
3131
if($field->isMultiple()){
3232
echo '<span class="glyphicon glyphicon-ok"></span>';

module/Administration/view/administration/models/formalarm.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ echo $this->formHidden($this->form->get('listable')->setAttribute('value', false
3030
echo $this->formHidden($this->form->get('searchable')->setAttribute('value', false));
3131

3232
foreach ($this->form->get('custom_fields')->getElements() as $element){
33-
echo $this->customFieldGroup($element);
33+
echo $this->controlgroup($element);
3434
}
3535

3636
?>

module/Application/view/application/file/form.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ $form->prepare();
3636
<div id="action-buttons" class="control-group">
3737
<div class="controls">
3838
<button class="btn btn-primary">Envoyer</button>
39-
<a id="cancel-form-upload" class="btn" href="#" data-dismiss="modal" aria-hidden="true">Annuler</a>
39+
<button id="cancel-form-upload" class="btn" href="#" data-dismiss="modal" aria-hidden="true">Annuler</button>
4040
</div>
4141
</div>
4242

0 commit comments

Comments
 (0)