dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
384c792
)
only set wpDestFile after selecting a file if its empty -- this could have been set...
author
Jan Gerber
<j@users.mediawiki.org>
Tue, 21 Jul 2009 15:51:00 +0000
(15:51 +0000)
committer
Jan Gerber
<j@users.mediawiki.org>
Tue, 21 Jul 2009 15:51:00 +0000
(15:51 +0000)
js2/uploadPage.js
patch
|
blob
|
history
diff --git
a/js2/uploadPage.js
b/js2/uploadPage.js
index
a374d9a
..
2dc5e48
100644
(file)
--- a/
js2/uploadPage.js
+++ b/
js2/uploadPage.js
@@
-21,7
+21,8
@@
var mwUploadHelper = {
'api_url' : wgServer + wgScriptPath + '/api.php',
'form_rewrite': true,
'new_source_cb' : function( orgFilename, oggName ){
- $j('#wpDestFile').val( oggName );
+ if($j('#wpDestFile').val() == "")
+ $j('#wpDestFile').val( oggName );
mwUploadHelper.doDestCheck();
},
'detect_cb':function(fogg_installed){