forked from 0x2620/oxjs
Ox -> Ox.UI
This commit is contained in:
parent
177693b3ce
commit
e2a42ab04e
12 changed files with 47 additions and 47 deletions
|
|
@ -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'});
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue