forked from 0x2620/oxjs
in map and calendar editor, change order of add/remove and new buttons
This commit is contained in:
parent
751cf07dfd
commit
53239d4cd1
2 changed files with 24 additions and 24 deletions
|
|
@ -449,26 +449,26 @@ Ox.CalendarEditor = function(options, self) {
|
|||
size: 24
|
||||
});
|
||||
|
||||
self.$newEventButton = Ox.Button({
|
||||
title: 'New Event',
|
||||
width: 70
|
||||
})
|
||||
.css({float: 'left', margin: '4px'})
|
||||
.bindEvent({
|
||||
click: addEvent
|
||||
})
|
||||
.appendTo(self.$eventStatusbar);
|
||||
|
||||
self.$removeEventButton = Ox.Button({
|
||||
title: 'Remove Event',
|
||||
width: 90
|
||||
})
|
||||
.css({float: 'right', margin: '4px'})
|
||||
.css({float: 'left', margin: '4px'})
|
||||
.bindEvent({
|
||||
click: removeEvent
|
||||
})
|
||||
.hide()
|
||||
.appendTo(self.$eventStatusbar);
|
||||
|
||||
self.$newEventButton = Ox.Button({
|
||||
title: 'New Event',
|
||||
width: 70
|
||||
})
|
||||
.css({float: 'right', margin: '4px'})
|
||||
.bindEvent({
|
||||
click: addEvent
|
||||
})
|
||||
.appendTo(self.$eventStatusbar);
|
||||
|
||||
if (self.options.mode == 'define') {
|
||||
self.$defineEventButton = Ox.Button({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue