From 8b917ece9ecf993e3ed34e556c48b2c31292159c Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Thu, 21 Aug 2014 23:47:11 +0200 Subject: Fix #3: –License dropdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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}}', + }, }, }, -- cgit v1.2.3