merge r1060 from http://svn.mannlib.cornell.edu/svn/vivo/branches/rel-1.1-maint
This commit is contained in:
parent
29f0b5afb9
commit
d3f9e12283
2 changed files with 16 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue