Merge branch 'MDL-36449-master-int' of git://github.com/FMCorz/moodle

This commit is contained in:
Dan Poltawski
2012-11-14 14:26:06 +08:00
+2 -3
View File
@@ -859,8 +859,7 @@ M.util.add_lightbox = function(Y, node) {
})
.setStyles({
'position' : 'relative',
'top' : '50%',
'left' : '50%'
'top' : '50%'
});
var lightbox = Y.Node.create('<div></div>')
@@ -872,7 +871,7 @@ M.util.add_lightbox = function(Y, node) {
'top' : 0,
'left' : 0,
'backgroundColor' : 'white',
'text-align' : 'center'
'textAlign' : 'center'
})
.setAttribute('class', 'lightbox')
.hide();