dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #12049
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3586: made resize work corrently in selection dialog
------------------------------------------------------------
revno: 3586
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-05-12 11:14:12 +0200
message:
made resize work corrently in selection dialog
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/viewDataEntryForm.vm
--
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-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/viewDataEntryForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/viewDataEntryForm.vm 2011-05-11 21:14:38 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/viewDataEntryForm.vm 2011-05-12 09:14:12 +0000
@@ -18,6 +18,15 @@
position: [900, 60]
});
+ jQuery("#selectionDialog").parent().bind("resize", function(e) {
+ var dialog = jQuery("#selectionDialog");
+ var indicatorSelector = jQuery("#indicatorSelector");
+ var dataElementSelector = jQuery("#dataElementSelector");
+
+ dataElementSelector.height( dialog.height() - 80 );
+ indicatorSelector.height( dialog.height() - 80 );
+ });
+
jQuery(":button").button();
jQuery(":submit").button();
@@ -122,6 +131,11 @@
.ui-dialog .ui-dialog-content {
padding: 1px;
}
+
+#indicatorSelector, #dataElementSelector {
+ margin: 2px !important;
+ padding: 2px !important;
+}
</style>
<h3>$i18n.getString( "dataentryform_management" ) #openHelp( "custom_forms" )</h3>
@@ -186,7 +200,7 @@
<table style="width: 100%;">
<tr id="dataElementsFilter">
<td colspan="2">
- <input type="text" style="width: 100%; border: 1px solid #888; padding: 1px 0 1px 0;" onkeyup="filterSelectList( 'dataElementSelector', this.value )"/>
+ <input type="text" style="width: 100%; border: 1px inset #888; padding: 1px 0 1px 0;" onkeyup="filterSelectList( 'dataElementSelector', this.value )"/>
</td>
</tr>
@@ -207,7 +221,7 @@
<tr id="indicatorsFilter">
<td colspan="2">
- <input type="text" style="width: 100%; border: 1px solid #888; padding: 1px 0 1px 0;" onkeyup="filterSelectList( 'indicatorSelector', this.value )"/>
+ <input type="text" style="width: 100%; border: 1px inset #888; padding: 1px 0 1px 0;" onkeyup="filterSelectList( 'indicatorSelector', this.value )"/>
</td>
</tr>