1
0
Fork 0
forked from 0x2620/oxjs

Ox -> Ox.UI

This commit is contained in:
rlx 2014-09-26 14:18:11 +02:00
commit e2a42ab04e
12 changed files with 47 additions and 47 deletions

View file

@ -252,9 +252,9 @@ Ox.Editable = function(options, self) {
self.$test.css({display: 'inline-block'});
height = self.options.height || Ox.limit(self.$test.height(), self.minHeight, self.maxHeight);
width = self.$test.width();
// +Ox.SCROLLBAR_SIZE to prevent scrollbar from showing up
// +Ox.UI.SCROLLBAR_SIZE to prevent scrollbar from showing up
if (self.options.type == 'textarea') {
width += Ox.SCROLLBAR_SIZE;
width += Ox.UI.SCROLLBAR_SIZE;
}
width = self.options.width || Ox.limit(width, self.minWidth, self.maxWidth);
self.$test.css({display: 'none'});

View file

@ -202,7 +202,7 @@ Ox.InsertHTMLDialog = function(options, self) {
height: 184,
keys: {enter: 'insert', escape: 'cancel'},
title: Ox._('Insert HTML'),
width: 416 + Ox.SCROLLBAR_SIZE
width: 416 + Ox.UI.SCROLLBAR_SIZE
});
function renderForm() {