rails link_to not works when navigated to any entity -
i cannot navigate or post when there parameter on url (when navigated entity)
<a href="/xxx">xxx</a>
works when @ url like
http://localhost:3000/xxx
but when @ url has entity parameter like
http://localhost:3000/xxx/12
non of <a\>
tags work , non of remote form posts work
when attach mouse click on chrome, saw on url http://localhost:3000/xxx
jquery function below returns undefined
(the situation navigation works without problem), when on url http://localhost:3000/xxx/12
function returns jquery.fn.init[0]
the function (jquery excerpt) this
if ( !( eventhandle = elemdata.handle ) ) { eventhandle = elemdata.handle = function( e ) { // discard second event of jquery.event.trigger() , // when event called after page has unloaded return typeof jquery !== "undefined" && jquery.event.triggered !== e.type ? jquery.event.dispatch.apply( elem, arguments ) : undefined; }; }
Comments
Post a Comment