Subversion Repositories SmartDukaan

Rev

Rev 36598 | Rev 36751 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36598 Rev 36726
Line 42... Line 42...
42
                    }
42
                    }
43
                });
43
                });
44
        }
44
        }
45
    });
45
    });
46
 
46
 
47
    $(document).on('focus', '.flagship-item-search', function() {
-
 
48
        getCatalogAheadOptions($(this), 70000, function(selectedItem) {
-
 
49
            selectedCatalogId = selectedItem.catalogId;
-
 
50
        });
-
 
51
    });
-
 
52
});
47
});
53
 
48
 
54
function loadFlagship(domId) {
49
function loadFlagship(domId) {
55
    doGetAjaxRequestHandler(context + "/manageFlagship", function(response) {
50
    doGetAjaxRequestHandler(context + "/manageFlagship", function(response) {
56
        $('#' + domId).html(response);
51
        $('#' + domId).html(response);
-
 
52
        getCatalogAheadOptions($('#' + domId).find('.flagship-item-search'), 70000, function(selectedItem) {
-
 
53
            selectedCatalogId = selectedItem.catalogId;
-
 
54
        });
57
    });
55
    });
58
}
56
}