rjy7 2010-07-22 19:45:39 +00:00
parent 29f0b5afb9
commit d3f9e12283
2 changed files with 16 additions and 2 deletions

View file

@ -13,7 +13,21 @@ var addAuthorForm = {
this.initObjects();
this.initPage();
},
disableFormInUnsupportedBrowsers: function() {
this.disableWrapper = $('#ie67DisableWrapper');
// Check for unsupported browsers only if the element exists on the page
if (this.disableWrapper.length) {
if (vitro.browserUtils.isIELessThan8()) {
this.disableWrapper.show();
$('.noIE67').hide();
return true;
}
}
return false;
},
mixIn: function() {
// Mix in the custom form utility methods
$.extend(this, vitro.customFormUtils);