r94824 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94823‎ | r94824 | r94825 >
Date:21:45, 17 August 2011
Author:nad
Status:deferred
Tags:
Comment:
call each record forms onsubmit before merging into the edit form
Modified paths:
  • /trunk/extensions/RecordAdmin/recordadmin.js (modified) (history)

Diff [purge]

Index: trunk/extensions/RecordAdmin/recordadmin.js
@@ -2,6 +2,7 @@
33 for( i = 0; i < window.forms.length; i++ ) {
44 var type = forms[i];
55 var form = document.getElementById( type.toLowerCase() + '-form' );
 6+ form.onsubmit();
67 var tags = [ 'input', 'select', 'textarea' ];
78 for( j = 0; j < tags.length; j++ ) {
89 var inputs = form.getElementsByTagName( tags[j] );

Status & tagging log