| @@ 5904-5921 (lines=18) @@ | ||
| 5901 | self.classes.add('multiple'); |
|
| 5902 | } |
|
| 5903 | }, |
|
| 5904 | renderHtml: function () { |
|
| 5905 | var self = this; |
|
| 5906 | var attrs, elm; |
|
| 5907 | var cfg = self.settings; |
|
| 5908 | attrs = { |
|
| 5909 | id: self._id, |
|
| 5910 | hidefocus: '1' |
|
| 5911 | }; |
|
| 5912 | elm = funcs.create('div', attrs, '<span>' + this.translate(cfg.text) + '</span>'); |
|
| 5913 | if (cfg.height) { |
|
| 5914 | funcs.css(elm, 'height', cfg.height + 'px'); |
|
| 5915 | } |
|
| 5916 | if (cfg.width) { |
|
| 5917 | funcs.css(elm, 'width', cfg.width + 'px'); |
|
| 5918 | } |
|
| 5919 | elm.className = self.classes; |
|
| 5920 | return elm.outerHTML; |
|
| 5921 | }, |
|
| 5922 | postRender: function () { |
|
| 5923 | var self = this; |
|
| 5924 | var toggleDragClass = function (e) { |
|
| @@ 5722-5739 (lines=18) @@ | ||
| 5719 | self.classes.add('multiple'); |
|
| 5720 | } |
|
| 5721 | }, |
|
| 5722 | renderHtml: function () { |
|
| 5723 | var self = this; |
|
| 5724 | var attrs, elm; |
|
| 5725 | var cfg = self.settings; |
|
| 5726 | attrs = { |
|
| 5727 | id: self._id, |
|
| 5728 | hidefocus: '1' |
|
| 5729 | }; |
|
| 5730 | elm = funcs.create('div', attrs, '<span>' + this.translate(cfg.text) + '</span>'); |
|
| 5731 | if (cfg.height) { |
|
| 5732 | funcs.css(elm, 'height', cfg.height + 'px'); |
|
| 5733 | } |
|
| 5734 | if (cfg.width) { |
|
| 5735 | funcs.css(elm, 'width', cfg.width + 'px'); |
|
| 5736 | } |
|
| 5737 | elm.className = self.classes; |
|
| 5738 | return elm.outerHTML; |
|
| 5739 | }, |
|
| 5740 | postRender: function () { |
|
| 5741 | var self = this; |
|
| 5742 | var toggleDragClass = function (e) { |
|