# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- a/misc/ajax.js
+++ b/misc/ajax.js
@@ -351,7 +351,7 @@
   }
 
   // Provide an error if the dialog options can't be parsed.
-  if (this.options.data.dialogOptions && typeof this.options.data.dialogOptions !== 'object') {
+  if (options.data.dialogOptions && typeof options.data.dialogOptions !== 'object') {
     $.error(Drupal.t('The data-dialog-options property on this link is not valid JSON.'));
   }
 };
