igCombo loader vs no loader

Not Answered This post has 0 verified answers | 2 Replies | 1 Follower Thread's RSS feed.

Tammy Wohlrabe
Points 2,365
Replied On: Thu, Oct 12 2017 3:33 PM Reply

I have two combos on a page one uses the loader: $.ig.loader('igCombo', function() {$('#MainMenuSearchCombo').igCombo the other does not $(function () {$('#BasicCriteriaReceiptIdType').igCombo(

Do you know what triggers using the loader vs not? Only 1 combo uses the loader and the rest don't and I can't figure out why that one is. I need it not to so any direction to point me in would be helpful.

  • Post Points: 5

All Replies

Tammy Wohlrabe
Points 2,365
Replied On: Fri, Oct 13 2017 1:34 PM Reply

I figured out why this is happening. Is there a way to tell it to ignore the loader?

  • Post Points: 5
Tammy Wohlrabe
Points 2,365
Replied On: Fri, Oct 13 2017 1:39 PM Reply

Let me rephrase the question. When its using the igLoader its not seeing our custom template engine that we configured like this:

$.ig.tmpl = function (tmpl, data) {

var template = Handlebars.compile(tmpl);

return template(data);

};

Do you have to do something different with the template engine when the loader is used?

  • Post Points: 5
Page 1 of 1 (3 items) | RSS