Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6018178
ext.MWOAuth.AuthorizeDialog.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
710 B
Referenced Files
None
Subscribers
None
ext.MWOAuth.AuthorizeDialog.js
View Options
/**
* OAuth JavaScript
*
* @author Aaron Schulz 2013
*/
(
function
()
{
'use strict'
;
var
mwoauth
=
{
init
:
function
()
{
var
$form
=
$
(
'#mw-mwoauth-authorize-form'
);
OO
.
ui
.
getWindowManager
().
openWindow
(
'message'
,
{
message
:
$form
,
size
:
'medium'
,
actions
:
[]
}
).
opened
.
then
(
function
()
{
// Appending the <form> to a <label> makes the whole form a click target
// for 'Allow', so move it out of the <label>
OO
.
ui
.
getWindowManager
().
getCurrentWindow
().
text
.
$element
.
append
(
$form
);
}
);
$form
.
on
(
'submit'
,
function
()
{
$
(
'#mw-mwoauth-accept'
).
prop
(
'disabled'
,
true
);
}
);
}
};
// Perform some onload events:
$
(
mwoauth
.
init
);
}()
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 4 2026, 13:56 (5 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b4/7b/c796d84d0e93a0eebefcacdb18a2
Default Alt Text
ext.MWOAuth.AuthorizeDialog.js (710 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment