Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6115108
EditCheckPreSaveToolbarTools.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
EditCheckPreSaveToolbarTools.js
View Options
ve
.
ui
.
EditCheckBack
=
function
VeUiEditCheckBack
()
{
// Parent constructor
ve
.
ui
.
EditCheckBack
.
super
.
apply
(
this
,
arguments
);
this
.
setDisabled
(
false
);
};
OO
.
inheritClass
(
ve
.
ui
.
EditCheckBack
,
ve
.
ui
.
Tool
);
ve
.
ui
.
EditCheckBack
.
static
.
name
=
'editCheckBack'
;
ve
.
ui
.
EditCheckBack
.
static
.
icon
=
'previous'
;
ve
.
ui
.
EditCheckBack
.
static
.
autoAddToCatchall
=
false
;
ve
.
ui
.
EditCheckBack
.
static
.
autoAddToGroup
=
false
;
ve
.
ui
.
EditCheckBack
.
static
.
title
=
OO
.
ui
.
deferMsg
(
'visualeditor-backbutton-tooltip'
);
ve
.
ui
.
EditCheckBack
.
prototype
.
onSelect
=
function
()
{
const
surface
=
this
.
toolbar
.
getSurface
();
surface
.
getContext
().
hide
();
surface
.
execute
(
'window'
,
'close'
,
'fixedEditCheckDialog'
);
this
.
setActive
(
false
);
ve
.
track
(
'activity.'
+
this
.
getName
(),
{
action
:
'tool-used'
}
);
};
ve
.
ui
.
EditCheckBack
.
prototype
.
onUpdateState
=
function
()
{
this
.
setDisabled
(
false
);
};
ve
.
ui
.
toolFactory
.
register
(
ve
.
ui
.
EditCheckBack
);
ve
.
ui
.
EditCheckSaveDisabled
=
function
VeUiEditCheckSaveDisabled
()
{
// Parent constructor
ve
.
ui
.
EditCheckSaveDisabled
.
super
.
apply
(
this
,
arguments
);
};
OO
.
inheritClass
(
ve
.
ui
.
EditCheckSaveDisabled
,
ve
.
ui
.
MWSaveTool
);
ve
.
ui
.
EditCheckSaveDisabled
.
static
.
name
=
'showSaveDisabled'
;
ve
.
ui
.
EditCheckSaveDisabled
.
static
.
autoAddToCatchall
=
false
;
ve
.
ui
.
EditCheckSaveDisabled
.
static
.
autoAddToGroup
=
false
;
ve
.
ui
.
EditCheckSaveDisabled
.
prototype
.
onUpdateState
=
function
()
{
this
.
setDisabled
(
true
);
};
ve
.
ui
.
toolFactory
.
register
(
ve
.
ui
.
EditCheckSaveDisabled
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 6 2026, 23:17 (8 w, 14 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
65/d1/5eb1c7ee10e6fdf370cc39cb7e43
Default Alt Text
EditCheckPreSaveToolbarTools.js (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment