Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (this.options.php.manualPrice) {
- $('[data-toggle='popover-price']').popover({
- content: function() {
- return '' +
- '<div class="form-inline">' +
- '<div class="form-group">' +
- '<input name="price[min]" value="' + $('#price-from').text() + '" type="text" class="form-control form-control-sm" id="min-price-value" />' +
- '</div>' +
- '<div class="form-group">-</div>' +
- '<div class="form-group">' +
- '<input name="price[max]" value="' + $('#price-to').text() + '" type="text" class="form-control form-control-sm" id="max-price-value" />' +
- '</div>' +
- '</div>';
- },
- html: true,
- delay: { 'show': 700, 'hide': 500 },
- placement: 'top',
- container: '#filter',
- title: 'Указать цену',
- trigger: 'hover'
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement