I believe the code to tweak is within this section:
merge(config.macros.option.types, {
'pas': {
elementType: "input",
valueField: "value",
eventName: "onkeyup",
className: "pasOptionInput",
typeValue: config.macros.option.passwordInputType,
create: function(place,type,opt,className,desc) {
// password field
config.macros.option.genericCreate(place,'pas',opt,className,desc);
// checkbox linked with this password "save this
password on this
computer"
config.macros.option.genericCreate
(place,'chk','chk'+opt,className,desc);
// text savePasswordCheckboxLabel
place.appendChild(document.createTextNode
(config.macros.option.passwordCheckboxLabel));
},
onChange: config.macros.option.genericOnChange
}
});
Specifically after this line:
config.macros.option.genericCreate(place,'pas',opt,className,desc);
Any ideas how to put the checkbox and text "Save this password on this
computer" on a new line, separate from the password field?
On May 12, 8:27 am, MikeS <[email protected]> wrote:
> Anyone know how to tweak this plugin:
>
> http://tiddlywiki.bidix.info/#PasswordOptionPlugin
>
> What I'd like is for the checkbox and text "Save this password on this
> computer" to be on a new line (separate from the password field)
>
> My sidebar is wider than the default so this looks funny all on one
> line.
>
> thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---