Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php |
— | — | @@ -823,10 +823,6 @@ |
824 | 824 | if ( $is_hidden ) { |
825 | 825 | $new_text = SFFormUtils::hiddenFieldHTML( 'free_text', '!free_text!' ); |
826 | 826 | } else { |
827 | | - if ( ! array_key_exists( 'rows', $field_args ) ) |
828 | | - $field_args['rows'] = 5; |
829 | | - if ( ! array_key_exists( 'cols', $field_args ) ) |
830 | | - $field_args['cols'] = 80; |
831 | 827 | $sfgTabIndex++; |
832 | 828 | $sfgFieldNum++; |
833 | 829 | if ( $cur_value == '' ) { |
— | — | @@ -1414,13 +1410,14 @@ |
1415 | 1411 | $form_page_title = null; |
1416 | 1412 | } |
1417 | 1413 | |
1418 | | - // If the form has already been submitted, i.e. this is just the redirect |
1419 | | - // page, get rid of all the Javascript, to avoid JS errors. |
| 1414 | + // If the form has already been submitted, i.e. this is just |
| 1415 | + // the redirect page, get rid of all the Javascript, to avoid |
| 1416 | + // JS errors. |
1420 | 1417 | if ( $form_submitted ) { |
1421 | 1418 | $javascript_text = ''; |
1422 | 1419 | } |
1423 | 1420 | |
1424 | | - $wgOut -> addParserOutputNoText( $parser->getOutput() ); |
| 1421 | + $wgOut->addParserOutputNoText( $parser->getOutput() ); |
1425 | 1422 | |
1426 | 1423 | wfProfileOut( __METHOD__ ); |
1427 | 1424 | |