I made it work with a query string like the one of my nodeformpopup module, simplified code too.

CommentFileSizeAuthor
storylink-nodeformpopup.patch.txt1.17 KBEgon Bianchet

Comments

jwilde’s picture

Greetings Egon,

Thanks. I tried the same changes the other day. They don't get the url in edit mode. Also, I can't get the jscript from nodeformpopup to work with MS IE 6.

Jim

Egon Bianchet’s picture

I fixed the code for IE6, anyway it could break with long urls because IE6 supports only 508 characters in bookmarks.

About the edit mode ... do you mean when the story has already been submitted, like in node/35/edit? What's the use for the query string if it has alredy been submitted?

Egon Bianchet’s picture

Status: Needs review » Closed (fixed)

Forget my patch, I'm going to use a form_alter in my module