Added "Show disabled items" checkbox to query editor.
This commit is contained in:
@@ -112,6 +112,13 @@
|
|||||||
class="input-large tight-form-input"
|
class="input-large tight-form-input"
|
||||||
ng-style="target.host.style">
|
ng-style="target.host.style">
|
||||||
</li>
|
</li>
|
||||||
|
<li class="tight-form-item" ng-hide="target.mode == 2">
|
||||||
|
Show disabled items
|
||||||
|
<editor-checkbox text=""
|
||||||
|
model="target.showDisabledItems"
|
||||||
|
change="onApplicationBlur()">
|
||||||
|
</editor-checkbox>
|
||||||
|
</li>
|
||||||
|
|
||||||
<!-- Downsampling function -->
|
<!-- Downsampling function -->
|
||||||
<!-- <li class="tight-form-item input-medium" ng-hide="target.mode == 2">
|
<!-- <li class="tight-form-item input-medium" ng-hide="target.mode == 2">
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ define([
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (true) {
|
if (!$scope.target.showDisabledItems) {
|
||||||
items = _.filter(items, {'status': '0'});
|
items = _.filter(items, {'status': '0'});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user