From d3f9e122837bc4cc92b92bd6c19d5142b14f0afc Mon Sep 17 00:00:00 2001 From: rjy7 Date: Thu, 22 Jul 2010 19:45:39 +0000 Subject: [PATCH] merge r1060 from http://svn.mannlib.cornell.edu/svn/vivo/branches/rel-1.1-maint --- .../forms/js/addAuthorsToInformationResource.js | 16 +++++++++++++++- .../edit/forms/unsupportedBrowserMessage.jsp | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/productMods/edit/forms/js/addAuthorsToInformationResource.js b/productMods/edit/forms/js/addAuthorsToInformationResource.js index bfdbcac6..876af791 100644 --- a/productMods/edit/forms/js/addAuthorsToInformationResource.js +++ b/productMods/edit/forms/js/addAuthorsToInformationResource.js @@ -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); diff --git a/productMods/edit/forms/unsupportedBrowserMessage.jsp b/productMods/edit/forms/unsupportedBrowserMessage.jsp index 814a8ce4..907e74e4 100644 --- a/productMods/edit/forms/unsupportedBrowserMessage.jsp +++ b/productMods/edit/forms/unsupportedBrowserMessage.jsp @@ -9,7 +9,7 @@
Alert Icon -

This form is not supported for use in versions of Internet Explorer below 8. Please upgrade to Internet Explorer 8, or +

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.

\ No newline at end of file