mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-19 17:28:23 +03:00
Fixes #716 Исправлено добавление опросов
This commit is contained in:
parent
e90c5bd058
commit
6690964639
|
@ -11,7 +11,7 @@
|
|||
(function($) {
|
||||
"use strict";
|
||||
|
||||
$.widget( "livestreet.lsPollManage", {
|
||||
$.widget( "livestreet.lsPollManage", $.livestreet.lsComponent, {
|
||||
/**
|
||||
* Дефолтные опции
|
||||
*/
|
||||
|
@ -73,6 +73,8 @@
|
|||
* @private
|
||||
*/
|
||||
_create: function () {
|
||||
this._super();
|
||||
|
||||
var _this = this;
|
||||
|
||||
this.elements = {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
(function($) {
|
||||
"use strict";
|
||||
|
||||
$.widget( "livestreet.lsPoll", {
|
||||
$.widget( "livestreet.lsPoll", $.livestreet.lsComponent, {
|
||||
/**
|
||||
* Дефолтные опции
|
||||
*/
|
||||
|
@ -51,6 +51,8 @@
|
|||
* @private
|
||||
*/
|
||||
_create: function () {
|
||||
this._super();
|
||||
|
||||
var _this = this;
|
||||
|
||||
this.elements = {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
(function($) {
|
||||
"use strict";
|
||||
|
||||
$.widget( "livestreet.lsReport", {
|
||||
$.widget( "livestreet.lsReport", $.livestreet.lsComponent, {
|
||||
/**
|
||||
* Дефолтные опции
|
||||
*/
|
||||
|
@ -37,6 +37,8 @@
|
|||
* @private
|
||||
*/
|
||||
_create: function () {
|
||||
this._super();
|
||||
|
||||
this.option( 'params', $.extend( {}, this.option( 'params' ), ls.utils.getDataOptions( this.element, 'param' ) ) );
|
||||
|
||||
this._on({ click: this.showModal });
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
(function($) {
|
||||
"use strict";
|
||||
|
||||
$.widget( "livestreet.lsTopicAdd", {
|
||||
$.widget( "livestreet.lsTopicAdd", $.livestreet.lsComponent, {
|
||||
/**
|
||||
* Дефолтные опции
|
||||
*/
|
||||
|
@ -47,6 +47,8 @@
|
|||
* @private
|
||||
*/
|
||||
_create: function () {
|
||||
this._super();
|
||||
|
||||
var _this = this;
|
||||
|
||||
this.elements = {
|
||||
|
|
Loading…
Reference in a new issue