mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
Properly scope form selector
This commit is contained in:
parent
64d14bb80f
commit
1477bd760a
@ -45,7 +45,7 @@ define(function (require) {
|
|||||||
|
|
||||||
submit: function (modal) {
|
submit: function (modal) {
|
||||||
var self = this;
|
var self = this;
|
||||||
var $form = $('form');
|
var $form = this.$el.find('form');
|
||||||
|
|
||||||
if (modal) {
|
if (modal) {
|
||||||
self.modal.preventClose();
|
self.modal.preventClose();
|
||||||
|
Loading…
Reference in New Issue
Block a user