mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Comments
This commit is contained in:
parent
a13d30e85a
commit
e0f342a62e
@ -297,7 +297,11 @@ $tw.utils.PasswordPrompt.prototype.setWrapperDisplay = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Adds a new password prompt
|
Adds a new password prompt. Options are:
|
||||||
|
submitText: text to use for submit button (defaults to "Login")
|
||||||
|
serviceName: text of the human readable service name
|
||||||
|
noUserName: set true to disable username prompt
|
||||||
|
callback: function to be called on submission with parameter of object {username:,password:}. Callback must return `true` to remove the password prompt
|
||||||
*/
|
*/
|
||||||
$tw.utils.PasswordPrompt.prototype.createPrompt = function(options) {
|
$tw.utils.PasswordPrompt.prototype.createPrompt = function(options) {
|
||||||
// Create and add the prompt to the DOM
|
// Create and add the prompt to the DOM
|
||||||
|
Loading…
Reference in New Issue
Block a user