Commit a9020239 authored by andrei.dincu's avatar andrei.dincu
Browse files

Issue #2249723 by andrei.dincu: Change path for xmlsitemap.js file in...

Issue #2249723 by andrei.dincu: Change path for xmlsitemap.js file in xmlsitemap.admin.inc and xmlsitemap.module
parent 4d4f3c0d
...@@ -566,7 +566,7 @@ function xmlsitemap_add_link_bundle_settings(array &$form, array &$form_state, $ ...@@ -566,7 +566,7 @@ function xmlsitemap_add_link_bundle_settings(array &$form, array &$form_state, $
'#group' => 'additional_settings', '#group' => 'additional_settings',
'#attached' => array( '#attached' => array(
'js' => array( 'js' => array(
'vertical-tabs' => drupal_get_path('module', 'xmlsitemap') . '/xmlsitemap.js', 'vertical-tabs' => drupal_get_path('module', 'xmlsitemap') . '/js/xmlsitemap.js',
), ),
), ),
'#tree' => TRUE, '#tree' => TRUE,
......
...@@ -1409,7 +1409,7 @@ function xmlsitemap_add_form_link_options(array &$form, $entity, $bundle, $id) { ...@@ -1409,7 +1409,7 @@ function xmlsitemap_add_form_link_options(array &$form, $entity, $bundle, $id) {
'#group' => 'additional_settings', '#group' => 'additional_settings',
'#attached' => array( '#attached' => array(
'js' => array( 'js' => array(
'vertical-tabs' => drupal_get_path('module', 'xmlsitemap') . '/xmlsitemap.js', 'vertical-tabs' => drupal_get_path('module', 'xmlsitemap') . '/js/xmlsitemap.js',
), ),
), ),
); );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment