← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2524: Export to image: Medium size set as default.

 

Merge authors:
  Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 2524 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-01-11 17:10:21 +0100
message:
  Export to image: Medium size set as default.
modified:
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js	2011-01-11 11:00:36 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js	2011-01-11 16:08:05 +0000
@@ -652,14 +652,14 @@
                         id: 'exportimagewidth_cb',
                         fieldLabel: 'Width',
                         labelSeparator: G.conf.labelseparator,
-                        editable: true,
-                        emptyText: 'Custom px',
+                        editable: false,
                         valueField: 'width',
                         displayField: 'text',
                         width: G.conf.combo_width_fieldset,
                         minListWidth: G.conf.combo_width_fieldset,
                         mode: 'local',
                         triggerAction: 'all',
+                        value: 1190,
                         store: new Ext.data.ArrayStore({
                             fields: ['width', 'text'],
                             data: [[800, 'Small'], [1190, 'Medium'], [1920, 'Large']]
@@ -670,14 +670,14 @@
                         id: 'exportimageheight_cb',
                         fieldLabel: 'Height',
                         labelSeparator: G.conf.labelseparator,
-                        editable: true,
-                        emptyText: 'Custom px',
+                        editable: false,
                         valueField: 'height',
                         displayField: 'text',
                         width: G.conf.combo_width_fieldset,
                         minListWidth: G.conf.combo_width_fieldset,
                         mode: 'local',
                         triggerAction: 'all',
+                        value: 880,
                         store: {
                             xtype: 'arraystore',
                             fields: ['height', 'text'],