Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ext.Dispatcher.addListener("before-dispatch", function(interaction) {
- if(!interaction.controller || !interaction.controller.hasOwnProperty(interaction.action)) {
- Ext.dispatch({
- controller: "DefaultController",
- action: "action",
- historyUrl: "DefaultController/action"
- });
- return false;
- }
- });
Add Comment
Please, Sign In to add comment