update lookup display type
This commit is contained in:
@@ -219,7 +219,13 @@ $(function() {
|
||||
});
|
||||
|
||||
$(".qs_view").on('click', function() {
|
||||
if ($('#server_mode').val() != "cloud") {
|
||||
var display_type = '<%= @display_type %>';
|
||||
if (display_type.length>0) {
|
||||
display_type = '<%= @display_type %>';
|
||||
}else{
|
||||
display_type = null;
|
||||
}
|
||||
if ($('#server_mode').val() != "cloud" && display_type == 2) {
|
||||
document.getElementById('second_view').click();
|
||||
}
|
||||
window.location.href = '/origami/quick_service';
|
||||
|
||||
Reference in New Issue
Block a user