File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ public static function makeAddFormAction(Grid $grid)
139
139
$ url = Request::capture ()->getPathInfo ();
140
140
Admin::script (<<<EOF
141
141
$('.CAForm').click(function(){
142
- componentPlane(' {$ url }/create',' {$ url }/store ');
142
+ componentPlane(' {$ url }/create',' {$ url }');
143
143
});
144
144
EOF
145
145
);
@@ -171,7 +171,7 @@ public static function makeEditFormAction(Grid $grid)
171
171
Admin::script (<<<EOF
172
172
$('.CEForm').click(function(){
173
173
let url = ' {$ url }' + '/'+this.getAttribute('data-id');
174
- componentPlane(url+'/edit',url,'PUT' );
174
+ componentPlane(url+'/edit',url);
175
175
});
176
176
EOF
177
177
);
@@ -198,7 +198,7 @@ public static function _makeEditFormAction(Grid &$grid)
198
198
Admin::script (<<<EOF
199
199
$('.CEForm').click(function(){
200
200
let url = ' {$ url }' + '/'+this.getAttribute('data-id');
201
- componentPlane(url+'/edit',url,'PUT' );
201
+ componentPlane(url+'/edit',url);
202
202
});
203
203
EOF
204
204
);
You can’t perform that action at this time.
0 commit comments