On Jul 26, 11:37 pm, rouilj <[email protected]> wrote: > On Jul 26, 11:24 pm, rouilj <[email protected]> wrote: > > On Jul 26, 1:36 pm, Eric Shulman <[email protected]> wrote: > > > > > I am having an issue > > > > withhttp://www.TiddlyTools.com/#ImportTiddlersPlugin > > > > where it doesn't do anything when I switch to import from a web page > > > > and click on the > > > > "Select a server" link. > > > > I can click on the link and nothing pops up to allow me to select from > > > > my systemServer togged tiddlers. > > > > I just tested using a completely empty TW252 with only > > > ImportTiddlersPlugin (v4.5.1) installed in it. > > > I can confirm your results. I do see the popup, so it's not > > my web browser or it's addons. > > > > If you are not seeing the popup at all, then something else is broken > > > in your document. > > > Yup, something else is broken. I have firebug installed in my browser. > > Is there someway to use it to set a breakpoint so I can step through > > the popup code? > > Well guess I answered my own question. I started firebug and reloaded > the tw. > Then I switched to the script tab and enabled "break on all errors". > Then I opened > the import tab, switched to web and clicked on select a server and > that resulted in: > > 77 if(attribs){ > 78 for(var n in attribs){ > 79 e.setAttribute(n,attribs[n]); > 80 } > 81 } > > the error it reports is: > > e is not defined > > this code is inside the function: > > function createTiddlyButton > (theParent,theText,theTooltip,theAction,theClass,theId,theAccessKey,attribs) > > Does this shed any light? > > Looking at the function: function createTiddlyElement > (theParent,theElement,theID,theClass,theText,attribs) > > it uses the variable e in a similar way, however in createTiddlyButton > the variable is: > > var theButton = document.createElement("a"); > > could it be that e.setAttribute should be theButton.setAttribute?
Yup that looks like the problem. It looks like that code/function definition is part of TiddlerNotesPlugin. Because http://tw.lewcid.org/#TiddlerNotesPlugin is down right now, I can't tell if it is a bug in the plugin or if it is something I may have broken while trying to enhance the plugin. So problem solved, but a mystery still remains. -- rouilj --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

