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);
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div id="ie67DisableWrapper">
|
||||
<div id="ie67DisableContent">
|
||||
<img src="${themeDir}site_icons/iconAlertBig.png" alt="Alert Icon"/>
|
||||
<p>This form is not supported for use in versions of Internet Explorer below 8. Please upgrade to Internet Explorer 8, or
|
||||
<p>This form is not supported for use in versions of Internet Explorer below version 8. Please upgrade to Internet Explorer 8, or
|
||||
switch to another browser, such as FireFox.</p>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Reference in a new issue