Lines Matching defs:edit

5 	var m_viewMode, m_origViewMode, m_prevView; // show, edit, subscribe etc
18 var m_supportedActions = {'':1, edit:1, draft:1, history:1, recent:1, revisions:1, show:1, subscribe:1, backlink:1, index:1, profile:1, media:1, diff:1, save:1};
146 // Inline section edit
151 load('edit', form, _formToObj(form));
161 * Preview a page edit without reloading the page.
208 // Walk the dom tree in reverse to find the sibling which is or contains the section edit marker
213 // over the edit icon. Since this div will go away when edit starts, you don't want to
254 * Initialize a page edit. This must be called every time the editor is loaded.
269 // From edit.js
310 // Original behavior from edit.js.
354 // Cancel button on edit, or Delete Draft button on draft.
392 // Special case for section edit.
483 edit: function(params, extraData) {
520 m_viewMode = 'edit';
521 m_actionEffects.edit(params, m_pageObjs.sectionForm ? {sectionForm: m_pageObjs.sectionForm, sectionParts:_getSection(m_pageObjs.sectionForm)} : {});
531 // Cancel button on edit, or Delete Draft button on draft.
549 // Recoverable error. Return to the edit form.
551 m_viewMode = 'edit';
552 m_actionEffects.edit(params, m_pageObjs.sectionForm ? {sectionForm: m_pageObjs.sectionForm, sectionParts:_getSection(m_pageObjs.sectionForm)} : {});
582 m_actionEffects.draft = m_actionEffects.edit;
587 * Perform a standard partial AJAX action (edit, history, etc).
602 if (insertLoc && action=='edit') {
725 * @param {Form=} sectionForm - Only valid when page=='edit' or page=='draft'. Used to edit a section inline.
732 // If edit text has changed, confirm before switching views.
733 if ((m_viewMode == 'edit' || m_viewMode == 'draft') && (page != 'save' && page != 'preview') && m_pageObjs.content != $('#wiki__text').val()) {
773 else if ((page == 'draft' || page == 'edit') && sectionForm) {