# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /home/sbatman/workspace-alla3/seodev/branches/motook/seodev12/modules/contrib/subdomain
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: subdomain.js
--- subdomain.js Base (BASE)
+++ subdomain.js Locally Modified (Based On LOCAL)
@@ -1,5 +1,5 @@
 Drupal.subdomain_style_toggle = function() {
-  if ( $("select[@name='subdomain_style']").val() == 2) {
+  if ( $("select[name='subdomain_style']").val() == 2) {
     $("#subdomain_custom").show();
   }
   else {
@@ -9,7 +9,7 @@
 
 Drupal.subdomain_type_toggle = function() {
   var type = '';
-  switch ($("select[@name='subdomain_type']").val()) {
+  switch ($("select[name='subdomain_type']").val()) {
     case '1':
       type = 'Organic Group';
       $('#edit-subdomain-allow-onlyalpha-wrapper').show().children('label').html($('#edit-subdomain-allow-onlyalpha-wrapper label').html().replace('user','group'));
@@ -38,15 +38,15 @@
       $('#vocab').hide();
       break;
   }
-  $("select[@name='subdomain_style'] option[@value=1]").html('the name of the '+type);
+  $("select[name='subdomain_style'] option[value=1]").html('the name of the '+type);
 
-  $('select[@Name="subdomain_style"]').click();
+  $('select[Name="subdomain_style"]').click();
 }
 
 if (Drupal.jsEnabled) {
   $(document).ready( function() {
-    $('select[@Name="subdomain_type"]').click(function() { Drupal.subdomain_type_toggle(); }).click();
-    $('select[@Name="subdomain_style"]').click(function() { Drupal.subdomain_style_toggle(); }).click();
\ No newline at end of file
+    $('select[Name="subdomain_type"]').click(function() { Drupal.subdomain_type_toggle(); }).click();
+    $('select[Name="subdomain_style"]').click(function() { Drupal.subdomain_style_toggle(); }).click();
\ No newline at end of file
     }
   );
 }
