Skip to content

Commit

Permalink
Safeties
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Mar 7, 2011
1 parent 01f2030 commit 84adc07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vie-aloha.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

// Call the configured beforeEditing function that may modify
// the content of the editable before editing is possible
if(opt.beforeEditing != null) {
if (opt.beforeEditing !== null) {
opt.beforeEditing(containerProperty);
}

Expand All @@ -33,8 +33,8 @@
containerInstance.editables[propertyName] = new GENTICS.Aloha.Editable(containerProperty);
containerInstance.editables[propertyName].vieContainerInstance = containerInstance;
});
})
}
});
};
})(jQuery);

if (typeof VIE === 'undefined') {
Expand Down
1 change: 1 addition & 0 deletions vie-containermanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ VIE.ContainerManager = {
instanceSingletons: {},

findContainerProperties: function(element, allowPropertiesInProperties) {
element = jQuery(element);
if (!element.attr('typeof')) {
element = element.children('[typeof][about]');
}
Expand Down

0 comments on commit 84adc07

Please sign in to comment.