diff options
author | Robin Krahl <me@robin-krahl.de> | 2014-08-21 23:47:11 +0200 |
---|---|---|
committer | Robin Krahl <me@robin-krahl.de> | 2014-08-21 23:47:11 +0200 |
commit | 8b917ece9ecf993e3ed34e556c48b2c31292159c (patch) | |
tree | 4bcd1c48bae17a4787ff0ccf6906b8c6e5f203ba | |
parent | 58f0037becb372dff3dfde6f770f84af1d67eda3 (diff) | |
download | LrMediaWiki-8b917ece9ecf993e3ed34e556c48b2c31292159c.tar.gz LrMediaWiki-8b917ece9ecf993e3ed34e556c48b2c31292159c.tar.bz2 |
Fix #3: –License dropdown
-rwxr-xr-x | mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua b/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua index fb39619..3a6eedd 100755 --- a/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua +++ b/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua @@ -200,9 +200,14 @@ MediaWikiExportServiceProvider.sectionsForTopOfDialog = function(viewFactory, pr title = LOC '$$$/LrMediaWiki/Section/Licensing/License=License',
},
- viewFactory:edit_field {
+ viewFactory:combo_box {
value = bind 'info_license',
immediate = true,
+ items = {
+ '{{Cc-by-sa-4.0}}',
+ '{{Cc-by-4.0}}',
+ '{{Cc-zero}}',
+ },
},
},
|