Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F390749
create_page.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
535 B
Subscribers
None
create_page.js
View Options
/**
* js/create_page.js
* Frontend code for creating new pages
*
* 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
()
{
$
(
'#create_page_btn'
).
bind
(
'click'
,
function
(
e
)
{
$
(
'#create_page_btn'
).
attr
(
'disabled'
,
'disabled'
);
$
.
glue
.
backend
({
method
:
'glue.create_page'
,
page
:
$
.
glue
.
page
},
function
(
data
)
{
window
.
location
=
$
.
glue
.
base_url
+
'?'
+
$
.
glue
.
page
+
'/edit'
;
});
});
});
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 22, 15:27 (7 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23555
Default Alt Text
create_page.js (535 B)
Attached To
rZEDHG ZedLegacy
Event Timeline
Log In to Comment