r108251 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108250‎ | r108251 | r108252 >
Date:16:27, 6 January 2012
Author:jeroendedauw
Status:ok
Tags:
Comment:
css class fix to make this work with mw 1.18
Modified paths:
  • /trunk/extensions/EducationProgram/resources/ep.datepicker.js (modified) (history)
  • /trunk/extensions/EducationProgram/specials/SpecialEditTerm.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/specials/SpecialEditTerm.php
@@ -127,7 +127,7 @@
128128 public function __construct( $params ) {
129129 parent::__construct( $params );
130130
131 - $this->mClass .= " ep-datepicker";
 131+ $this->mClass .= " ep-datepicker-tr";
132132 }
133133
134134 function getSize() {
Index: trunk/extensions/EducationProgram/resources/ep.datepicker.js
@@ -10,7 +10,7 @@
1111
1212 $( document ).ready( function() {
1313
14 - $( '.ep-datepicker' ).datepicker( {
 14+ $( '.ep-datepicker-tr' ).find( 'input' ).datepicker( {
1515 'dateFormat': 'yy-mm-dd'
1616 } );
1717

Status & tagging log