Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Testium.Model.SeleniumAction = Class.create(Testium.Model._Manager, {
- initialize : function($super)
- {
- $super();
- this._container = 'seleniumAction';
- },
- list : function($super)
- {
- $super();
- },
- create : function($super, xhr)
- {
- $super(xhr);
- if (!Object.isUndefined(this._json.SeleniumAction)) {
- this.list();
- }
- },
- read : function($super, seleniumActionId, seleniumActionElement)
- {
- $super(null, seleniumActionElement);
- cookie.set('seleniumAction', seleniumActionId);
- seleniumActionManager.list();
- },
- edit : function($super, xhr)
- {
- $super(xhr);
- console.info("HERE");
- if (!Object.isUndefined(this._json.SeleniumAction)) {
- this.list();
- }
- },
- destroy : function($super) {
- $super();
- }
- });
Add Comment
Please, Sign In to add comment