Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4005597
FixedEditCheckDialog.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
FixedEditCheckDialog.js
View Options
/**
* FixedEditCheckDialog constructor.
*
* This dialog displays edit checks in the pre-save moment, and shows single edit checks at the bottom of the display
* while on mobile.
*
* @class
* @extends ve.ui.ToolbarDialog
* @mixes ve.ui.EditCheckDialog
* @param {Object} config
*/
ve
.
ui
.
FixedEditCheckDialog
=
function
VeUiFixedEditCheckDialog
(
config
)
{
// Parent constructor
ve
.
ui
.
FixedEditCheckDialog
.
super
.
call
(
this
,
config
);
// Mixin constructor
ve
.
ui
.
EditCheckDialog
.
call
(
this
,
config
);
};
/* Inheritance */
OO
.
inheritClass
(
ve
.
ui
.
FixedEditCheckDialog
,
ve
.
ui
.
ToolbarDialog
);
OO
.
mixinClass
(
ve
.
ui
.
FixedEditCheckDialog
,
ve
.
ui
.
EditCheckDialog
);
/* Static properties */
ve
.
ui
.
FixedEditCheckDialog
.
static
.
name
=
'fixedEditCheckDialog'
;
ve
.
ui
.
FixedEditCheckDialog
.
static
.
position
=
OO
.
ui
.
isMobile
()
?
'below'
:
'side'
;
ve
.
ui
.
FixedEditCheckDialog
.
static
.
size
=
OO
.
ui
.
isMobile
()
?
'full'
:
'medium'
;
ve
.
ui
.
FixedEditCheckDialog
.
static
.
alwaysFocusAction
=
true
;
/* Methods */
/**
* @inheritdoc
*/
ve
.
ui
.
FixedEditCheckDialog
.
prototype
.
initialize
=
function
()
{
// Parent method
ve
.
ui
.
FixedEditCheckDialog
.
super
.
prototype
.
initialize
.
call
(
this
);
// Mixin method
return
ve
.
ui
.
EditCheckDialog
.
prototype
.
initialize
.
call
(
this
);
};
/**
* @inheritdoc
*/
ve
.
ui
.
FixedEditCheckDialog
.
prototype
.
getSetupProcess
=
function
(
data
)
{
// Parent method
const
process
=
ve
.
ui
.
FixedEditCheckDialog
.
super
.
prototype
.
getSetupProcess
.
call
(
this
,
data
);
// Mixin method
return
ve
.
ui
.
EditCheckDialog
.
prototype
.
getSetupProcess
.
call
(
this
,
data
,
process
);
};
/**
* @inheritdoc
*/
ve
.
ui
.
FixedEditCheckDialog
.
prototype
.
getTeardownProcess
=
function
(
data
)
{
// Parent method
const
process
=
ve
.
ui
.
FixedEditCheckDialog
.
super
.
prototype
.
getTeardownProcess
.
call
(
this
,
data
);
// Mixin method
return
ve
.
ui
.
EditCheckDialog
.
prototype
.
getTeardownProcess
.
call
(
this
,
data
,
process
);
};
/**
* @inheritdoc ve.ui.EditCheckDialog
*/
ve
.
ui
.
FixedEditCheckDialog
.
prototype
.
onFocusAction
=
function
(
action
,
index
,
scrollTo
)
{
if
(
this
.
singleAction
&&
action
===
null
)
{
// Can't unset the offset in single-action mode, because it hides the sidebar contents
return
;
}
// Mixin method
return
ve
.
ui
.
EditCheckDialog
.
prototype
.
onFocusAction
.
call
(
this
,
action
,
index
,
scrollTo
);
};
/* Registration */
ve
.
ui
.
windowFactory
.
register
(
ve
.
ui
.
FixedEditCheckDialog
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 14 2026, 08:50 (14 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e5/e8/9c09ce36bd4f01450ff17a47dabd
Default Alt Text
FixedEditCheckDialog.js (2 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment