dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #41794
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21322: removed unused code
------------------------------------------------------------
revno: 21322
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-12-04 11:22:25 +0100
message:
removed unused code
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/scripts/services.js
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/styles/style.css
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/views/home.html
--
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-apps/src/main/webapp/dhis-web-tracker-capture/scripts/services.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/scripts/services.js 2015-12-02 20:59:00 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/scripts/services.js 2015-12-04 10:22:25 +0000
@@ -1445,6 +1445,7 @@
this.sortedTeiIds = [];
this.selectedTeiEvents = null;
this.relationshipOwner = {};
+ this.selectedTeiEvents = [];
this.set = function(currentSelection){
this.currentSelection = currentSelection;
=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/styles/style.css'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/styles/style.css 2015-12-03 08:26:39 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/styles/style.css 2015-12-04 10:22:25 +0000
@@ -3,7 +3,7 @@
margin: 0;
padding: 0;
background-color: white;
- font-size: 10pt;
+ overflow: auto;
}
.not-for-screen {
=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/views/home.html'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/views/home.html 2015-12-04 10:12:39 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/views/home.html 2015-12-04 10:22:25 +0000
@@ -1,14 +1,4 @@
<script>
- $(".select-dropdown-button").on('click', function (e) {
- $("#selectDropDown").width($("#selectDropDownParent").width());
- e.stopPropagation();
- $("#selectDropDown").dropdown('toggle');
- });
- $(".select-dropdown-caret").on('click', function (e) {
- $("#selectDropDown").width($("#selectDropDownParent").width());
- e.stopPropagation();
- $("#selectDropDown").dropdown('toggle');
- });
$(".search-dropdown-button").on('click', function () {
$("#searchDropDown").width($("#searchDropDownParent").width());
});
@@ -22,7 +12,6 @@
});
$(window).resize(function () {
- $("#selectDropDown").width($("#selectDropDownParent").width());
$("#searchDropDown").width($("#searchDropDownParent").width());
});
</script>
@@ -60,17 +49,7 @@
<!-- top bar begins -->
<div class="row top-bar">
<div class="col-sm-12">
- {{trackerCaptureLabel}}
- <div class="pull-right hideInPrint">
- <div class="btn-group" dropdown is-open="status.isopen">
- <button type="button" class="btn btn-default dropdown-toggle" dropdown-toggle ng-disabled="trackedEntityList.rows.length <= 0">
- <i class="fa fa-cog" title="{{settingsLabel}}"></i>
- </button>
- <ul class="dropdown-menu pull-right" role="menu">
- <li><a href ng-click="showDisplayMode()">{{displayModeLabel}}</a></li>
- </ul>
- </div>
- </div>
+ {{trackerCaptureLabel}}
</div>
</div>
<!-- top bar ends -->