Skip to content

Commit 8a07fe0

Browse files
committed
Exclude "default" configuration
1 parent 309ccc6 commit 8a07fe0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

assets/javascripts/gtt_print.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ $(function() {
44
if (server) {
55
$.getJSON(server + "print/apps.json", function (data) {
66
$.each(data, function(key, value) {
7-
var option = $("<option></option>").attr("value",value).text(value);
8-
$('form.print_box select').append(option);
7+
// "default" profile does not really work for some reason
8+
if (value != "default") {
9+
var option = $("<option></option>").attr("value",value).text(value);
10+
$('form.print_box select').append(option);
11+
}
912
});
1013
});
1114
}

0 commit comments

Comments
 (0)