r67050 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67049‎ | r67050 | r67051 >
Date:19:12, 29 May 2010
Author:dale
Status:deferred
Tags:
Comment:
if using images from mwEmbed you should use mw.getMwEmbedPath() ( its probably better to let css transforms handle the relative path mappings )
Modified paths:
  • /trunk/extensions/UploadWizard/js/mw.UploadWizard.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/js/mw.UploadWizard.js
@@ -1057,7 +1057,7 @@
10581058 // content area, it works. Vector is fine
10591059 $j( _this.dateInput ).datepicker( {
10601060 dateFormat: 'yy-mm-dd', // oddly, this means yyyy-mm-dd
1061 - buttonImage: '/js/mwEmbed/skins/common/images/calendar.gif',
 1061+ buttonImage: mw.getMwEmbedPath() + 'skins/common/images/calendar.gif',
10621062 buttonImageOnly: false // XXX determine what this does, docs are confusing
10631063 } );
10641064

Status & tagging log