Skip to content

Commit

Permalink
MDL-35771 lower the index values in file related code to prevent drag…
Browse files Browse the repository at this point in the history
…ging problems in YUI
  • Loading branch information
skodak committed Oct 21, 2012
1 parent 7e8ae12 commit e13b330
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions lib/form/dndupload.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ M.form_dndupload.init = function(Y, options) {

this.msg_dlg = new Y.Panel({
srcNode : this.msg_dlg_node,
zIndex : 800000,
zIndex : 8000,
centered : true,
modal : true,
visible : false,
Expand Down Expand Up @@ -577,7 +577,7 @@ M.form_dndupload.init = function(Y, options) {
var process_dlg = new Y.Panel({
srcNode : node,
headerContent: M.str.repository.fileexistsdialogheader,
zIndex : 800000,
zIndex : 8000,
centered : true,
modal : true,
visible : false,
Expand Down
8 changes: 4 additions & 4 deletions lib/form/filemanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ M.form_filemanager.init = function(Y, options) {
this.selectnode.generateID();
this.selectui = new Y.Panel({
srcNode : this.selectnode,
zIndex : 600000,
zIndex : 6000,
centered : true,
modal : true,
close : true,
Expand Down Expand Up @@ -237,7 +237,7 @@ M.form_filemanager.init = function(Y, options) {

this.msg_dlg = new Y.Panel({
srcNode : this.msg_dlg_node,
zIndex : 800000,
zIndex : 8000,
centered : true,
modal : true,
visible : false,
Expand Down Expand Up @@ -305,7 +305,7 @@ M.form_filemanager.init = function(Y, options) {
var node = Y.Node.createWithFilesSkin(M.form_filemanager.templates.mkdir);
this.mkdir_dialog = new Y.Panel({
srcNode : node,
zIndex : 800000,
zIndex : 8000,
centered : true,
modal : true,
visible : false,
Expand Down Expand Up @@ -707,7 +707,7 @@ M.form_filemanager.init = function(Y, options) {
node.generateID();
this.confirm_dlg = new Y.Panel({
srcNode : node,
zIndex : 800000,
zIndex : 8000,
centered : true,
modal : true,
visible : false,
Expand Down
10 changes: 5 additions & 5 deletions repository/filepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ M.core_filepicker.init = function(Y, options) {
this.process_dlg = new Y.Panel({
srcNode : node,
headerContent: M.str.repository.fileexistsdialogheader,
zIndex : 800000,
zIndex : 8000,
centered : true,
modal : true,
visible : false,
Expand Down Expand Up @@ -752,7 +752,7 @@ M.core_filepicker.init = function(Y, options) {

this.msg_dlg = new Y.Panel({
srcNode : this.msg_dlg_node,
zIndex : 800000,
zIndex : 8000,
centered : true,
modal : true,
visible : false,
Expand Down Expand Up @@ -1024,7 +1024,7 @@ M.core_filepicker.init = function(Y, options) {
var nextpage = this.active_repo.page+1;
var args = {
page: nextpage,
repo_id: this.active_repo.id,
repo_id: this.active_repo.id
};
var action = this.active_repo.issearchresult ? 'search' : 'list';
this.request({
Expand Down Expand Up @@ -1280,7 +1280,7 @@ M.core_filepicker.init = function(Y, options) {
this.mainui = new Y.Panel({
srcNode : this.fpnode,
headerContent: M.str.repository.filepicker,
zIndex : 500000,
zIndex : 5000,
centered : true,
modal : true,
visible : false,
Expand All @@ -1301,7 +1301,7 @@ M.core_filepicker.init = function(Y, options) {
set('id', 'filepicker-select-'+client_id);
this.selectui = new Y.Panel({
srcNode : this.selectnode,
zIndex : 600000,
zIndex : 6000,
centered : true,
modal : true,
close : true,
Expand Down

0 comments on commit e13b330

Please sign in to comment.