forked from 0x2620/oxjs
Only return Ox.Element if exactly one jquery element is return.
Fixes use of find, children
This commit is contained in:
parent
771d2be37b
commit
ac4dd51ed7
6 changed files with 14 additions and 16 deletions
|
|
@ -1124,7 +1124,7 @@ Ox.Calendar = function(options, self) {
|
|||
}
|
||||
|
||||
function setEventControls(event) {
|
||||
var $eventControls = that.$element.find('.OxEventControl'),
|
||||
var $eventControls = that.find('.OxEventControl'),
|
||||
isVisible = self.$eventControls.name.is(':visible');
|
||||
if (event) {
|
||||
self.$eventControls.name.options({title: event.name});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue