Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F948888
page_browser-edit.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
623 B
Subscribers
None
page_browser-edit.js
View Options
/**
* modules/page_browser/page_browser-edit.js
* Frontend code linking the page browser to the general editing mode
*
* Copyright Gottfried Haider, Danja Vasiliev 2010.
* This source code is licensed under the GNU General Public License.
* See the file COPYING for more details.
*/
$
(
document
).
ready
(
function
()
{
elem
=
$
(
'<img src="'
+
$
.
glue
.
base_url
+
'modules/page_browser/page_browser.png" alt="list all pages" title="list all pages" width="32" height="32">'
);
$
(
elem
).
bind
(
'click'
,
function
(
e
)
{
$
.
glue
.
menu
.
hide
();
window
.
location
=
$
.
glue
.
base_url
+
'?pages'
;
});
$
.
glue
.
menu
.
register
(
'page'
,
elem
);
});
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 26, 20:01 (2 d, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
21996
Default Alt Text
page_browser-edit.js (623 B)
Attached To
rZED Zed
Event Timeline
Log In to Comment