mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 15:05:39 +00:00
FIX: Added parentheses for the if block
This commit is contained in:
parent
29769cc5cc
commit
2b9512db18
@ -91,8 +91,9 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
onaddnewinline: function(e) {
|
onaddnewinline: function(e) {
|
||||||
if(e.target != this[0])
|
if(e.target != this[0]) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var tmpl = window.tmpl;
|
var tmpl = window.tmpl;
|
||||||
var row = this.find(".ss-gridfield-add-inline-template");
|
var row = this.find(".ss-gridfield-add-inline-template");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user