Index: inline_errors.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/inline_errors/inline_errors.module,v
retrieving revision 1.2
diff -u -p -r1.2 inline_errors.module
--- inline_errors.module	24 May 2009 16:02:47 -0000	1.2
+++ inline_errors.module	9 Sep 2009 16:59:09 -0000
@@ -54,7 +54,7 @@ function inline_errors_perm() {
  */
 function inline_errors_admin_settings() {
   // make sure the jquery scrollto plugin exists
-  if (!file_exists(SCROLLTO_PATH_DEFAULT)) {
+  if (!file_exists(variable_get('inline_errors_plugin_scrollto', SCROLLTO_PATH_DEFAULT))) {
     drupal_set_message(t('The Inline Errors module requires the !download to work', array('!download' => SCROLLTO_DOWNLOAD_LINK)), 'error');
   }
   
@@ -67,7 +67,7 @@ function inline_errors_admin_settings() 
   );    
   
   // if jquery scrollto plugin doesn't exist, add an error to the textfield
-  if (!file_exists(SCROLLTO_PATH_DEFAULT)) {
+  if (!file_exists(variable_get('inline_errors_plugin_scrollto', SCROLLTO_PATH_DEFAULT))) {
       $form['inline_errors_plugin_scrollto']['#attributes']['class'] = 'error';
   }
   
@@ -174,4 +174,4 @@ function check_form_id($form_id, $mforms
       return $form_id; 
     }
   }
-}
\ No newline at end of file
+}
