updates stats inside the modal in compterendu creation
This commit is contained in:
1 parent
416d7d47f7
commit
b0b4a4cbe6
2 files changed
+15
-52
No files matched your search
+6
-1
@@ -32,13 +32,18 @@
|
||||
$.fn.openModalEvent = function(id, href, title)
|
||||
{
|
||||
$('#'+id).click(function() {
|
||||
$.fn.openModal(href,title);
|
||||
});
|
||||
};
|
||||
|
||||
$.fn.openModal = function(href, title)
|
||||
{
|
||||
$('#form-modal-body').load(href, function()
|
||||
{
|
||||
$('.modal-title').text(title);
|
||||
$('#form-modal').modal('toggle');
|
||||
formAjaxSubmit("#form-modal-body form", "#form-modal");
|
||||
});
|
||||
});
|
||||
};
|
||||
})(jQuery);
|
||||
|
||||
Reference in new issue
Block a user