Merge pull request #182 from jumpserver/web_width

fix(web terminal) 修改web terminal初始窗口大小
pull/185/head
ibuler 2016-03-30 22:25:35 +08:00
commit b573170d69
2 changed files with 3 additions and 3 deletions

View File

@ -246,7 +246,7 @@
content: new_url+data
});
*/
window.open(new_url+data, '', 'width=628px, height=452px')
window.open(new_url+data, '', 'width=628px, height=410px')
}
else {
aUrl = '';
@ -295,7 +295,7 @@
content: new_url
});
*/
window.open(new_url+data, '', 'width=628px, height=452px');
window.open(new_url+data, '', 'width=628px, height=410px');
}
return false

View File

@ -293,7 +293,7 @@
content: new_url
});
*/
window.open(new_url, '_blank', 'toolbar=yes, location=yes, copyhistory=yes, scrollbars=yes, width=628, height=400')
window.open(new_url, '_blank', 'toolbar=yes, location=yes, copyhistory=yes, scrollbars=yes, width=628, height=380')
} else {
/*