Changeset 6553


Ignore:
Timestamp:
Oct 3, 2014, 7:45:03 AM (8 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1860: File edit dialog is too small

Location:
branches/3.3-stable/www
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-stable/www/filemanager/files/files.js

    r6400 r6553  
    172172      url += '&directory_id='+directoryId;
    173173    }
    174     Dialogs.openPopup(url, 'UploadFile', 600, 400);
     174    var controller = Items.getController('FILE');
     175    Dialogs.openPopup(url, 'UploadFile', controller.width, controller.height);
    175176  }
    176177 
  • branches/3.3-stable/www/include/scripts/main-2.js

    r6543 r6553  
    19381938    controllers['EXTRAVALUETYPE'] = { url:'admin/extravaluetypes/index.jsp', width:600, height:400 };
    19391939    controllers['FEATURE'] = { url:'lims/arraydesigns/features/index.jsp', width:750, height:500, popup:true, edit:false, noAnyToAny:true };
    1940     controllers['FILE'] = { url:'filemanager/index.jsp', iframe:true, width:600, height:400 };
     1940    controllers['FILE'] = { url:'filemanager/index.jsp', iframe:true, width:750, height:500 };
    19411941    controllers['FILESERVER'] = { url:'filemanager/fileservers/index.jsp', width:750, height:500 };
    19421942    controllers['FORMULA'] = { url:'views/formulas/index.jsp', width:750, height:500 };
Note: See TracChangeset for help on using the changeset viewer.