test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Mr.Cat Moderator
    #1066620

    @kroenerdesign,

    It’s a bug on IE, thanks for reporting. Here is quick fix for you ( this fix will come with next update )

    Open file

    /components/com_jamegafilter/assets/js/megafilter.js

    Find this string

    var LNFilterValue = LNBase.extend(function() {

    Add this block code to scope that start from string up above

    self.setValue = function (value) {
        self.$item.find('input').val(value).trigger('change');
    },
    
    self.afterRender = function () {
        if (jQuery.browser.msie) {
            self.$item.find('input').on('keyup', function(e) {
                if (e.keyCode === 13) {
                    jQuery(this).trigger('change');
                }
            });
        }
    }

    It seems there is a javascript : on click in searchfield, it overlays a remove icon. But I can’t find.

    What do you mean?

    Wisdom is not a product of schooling but of the lifelong attempt to acquire it.

    kroenerdesign Friend
    #1066975

    Hello

    thank you for your fix.

    But in our version (1.0.8) a "megafilter.js" doesn’t exist. But I found the "var LNFilterValue = LNBase.extend(function() { " in the libs.js and I was writing the code in there. But it doesn’t work.

    Hope you have a solution again. Thank you.

    Mr.Cat Moderator
    #1066990

    @kroenerdesign

    Hmm, on your site, jQuery.browser.msie return null, so that makes code doesn’t work.

    Here is other way.

    On my code, just replace

    jQuery.browser.msie

    with

    navigator.userAgent.match(/Trident/)

    then try a gain.

    • This reply was modified 7 years, 1 month ago by  Mr.Cat.
    • This reply was modified 7 years, 1 month ago by  Mr.Cat.
    • This reply was modified 7 years, 1 month ago by  Mr.Cat.

    Wisdom is not a product of schooling but of the lifelong attempt to acquire it.

    kroenerdesign Friend
    #1067199

    Tahnk you very much. It works fine now.

    kroenerdesign Friend
    #1067200

    Thank you very much. It works fine now.

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  kroenerdesign 7 years, 1 month ago.

The topic ‘Search title not working in IE11–’ is closed to new replies.