mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
This commit is contained in:
commit
0c3f0e0fe1
1 changed files with 2 additions and 2 deletions
|
@ -51,11 +51,11 @@ AutoForm.hooks({
|
||||||
Messages.flash(error.message.split('|')[0], 'error'); // workaround because error.details returns undefined
|
Messages.flash(error.message.split('|')[0], 'error'); // workaround because error.details returns undefined
|
||||||
Messages.clearSeen();
|
Messages.clearSeen();
|
||||||
// $(e.target).removeClass('disabled');
|
// $(e.target).removeClass('disabled');
|
||||||
if (error.error === 603) {
|
if (error.error === "603") {
|
||||||
var dupePostId = error.reason.split('|')[1];
|
var dupePostId = error.reason.split('|')[1];
|
||||||
FlowRouter.go('postPage', {slug: '_', _id: dupePostId});
|
FlowRouter.go('postPage', {slug: '_', _id: dupePostId});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue