Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sao.View.Form.LabelMixin = Sao.class_(Sao.View.Form.StateWidget, {
- init: function(text, attributes) {
- Sao.View.Form.LabelMixin._super.init.call(this, attributes);
- },
- set_state: function(record) {
- Sao.View.Form.LabelMixin._super.set_state.call(this, record);
- ...
- }
- });
- Sao.View.Form.Label = Sao.class_(Sao.View.Form.LabelMixin, {
- class_: 'form-label',
- init: function(text, attributes) {
- Sao.View.Form.Label._super.init.call(this, attributes);
- ...
- },
- set_state: function(record) {
- Sao.View.Form.Label._super.set_state.call(this, record);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement