Browse Source

Update main.js

tags/6.2.0
tianya 2 months ago
parent
commit
cac2f0fde6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/admin/js/main.js

+ 2
- 2
src/admin/js/main.js View File

@@ -123,11 +123,11 @@ function SelectSoft(fname) {
var pos = GetWinPos(800,600);
window.open("./dialog/select_soft.php?f=" + fname, "popUpImagesWin", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top);
}
function SelectImage(fname, stype, imgsel) {
function SelectImage(fname, stype, imgsel="") {
var pos = GetWinPos(800,600);
if (!fname) fname = 'form1.picname';
if (imgsel) imgsel = '&noeditor=yes';
if (!stype) stype = '';
if (!stype) stype = 'small';
window.open("./dialog/select_images.php?f=" + fname + "&noeditor=yes&imgstick=" + stype + imgsel, "popUpImagesWin", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top);
}
function SelectImageN(fname, stype, vname) {


Loading…
Cancel
Save