app/views/educode_sales/roles/new.html.erb in educode_sales-0.3.5 vs app/views/educode_sales/roles/new.html.erb in educode_sales-0.3.6
- old
+ new
@@ -33,10 +33,10 @@
// 当前弹出层,防止ID被覆盖
var parentIndex = layer.index;
//监听提交
form.on('submit(saveBtn)', function (data) {
- request.authPost("educode_sales/roles", data.field, function (res) {
+ request.authPost("missions/roles", data.field, function (res) {
if (res.success == false) {
layer.alert(res.msg)
} else {
layer.close(parent.index);
parent.layer.close(parent.layer.getFrameIndex(window.name))
\ No newline at end of file