@DanaLapka

Uncaught TypeError: Cannot read property 'order' of undefined?

orderBy: function(event, container, element){
			var id = 'id-' + this.getID(container);

		/*	if (!this.list|| !this.list[id]) throw new Error('RokSprocket strips: strips class not available'); */

			var orderBy = element.get('data-strips-orderby');
			this.strips[id].order(orderBy/*, null, function(callback){}*/);

			container.getElements('[data-strips-orderby]').removeClass('active');
			if (orderBy != 'random') element.addClass('active');
		},


at Object.:
ordering: container.retrieve('roksprocket:strips:ordering', function(event, element){
						this.orderBy.call(this, event, container, element);
					}.bind(this)),


Подскажите что не так пожалуйста
  • Вопрос задан
  • 207 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы