Geeks With Blogs
Ben Adler's Development Posting solutions as I find them
If you are using jsorter with compatibility mode enabled, you may receive a "member not found" error. I'm not entirely sure what causes this error, but it seems with some poking around online, I was able to fix this by changing the jquery.min.js code. For reference, I am using jquery version 1.11.3.

There's a piece of code:

mb = { set: function(a, b, c) { var d = a.getAttributeNode(c); return d || a.setAttributeNode(d = a.ownerDocument.createAttribute(c)), .d.value = b += "", "value" === c || b === a.getAttribute(c) ? b : void 0 } },

That needs to be replaced with:

mb = { set: function( elem, value, name ) {

                                           // BUG related to ie10 compatibility mode not possible to set aria-parameters

                                           // The following problems were in Asynja: qtip didn't work, couldn't save patients by clicking save button and probably more.

                                           if (name.substring(0,4) == 'aria') {

                                                          return;

                                           }

                                           // Set the existing or create a new attribute node

                                           var ret = elem.getAttributeNode( name );

                                           if ( !ret ) {

                                                          ret = document.createAttribute( name );

                                                          elem.setAttributeNode( ret );

                                           }

                                           return ( ret.nodeValue = value + "" );

 

                             }

},


Posted on Tuesday, October 13, 2015 11:05 AM | Back to top


Comments on this post: Member not found jsorter error

# re: Member not found jsorter error

Your comment:
 (will show your gravatar)


Copyright © BenAdler | Powered by: GeeksWithBlogs.net