fixed compatibility with module flag_lists 3.x
converted materiobasemod js processor to gulp
This commit is contained in:
@@ -166,7 +166,7 @@ function materio_flag_block_view($delta = '') {
|
||||
$block['subject'] = t('My bookmarks');
|
||||
$block['content'] = t('No bookmarks yet. Add bookmarks on clicking on results star');
|
||||
}
|
||||
drupal_add_js(drupal_get_path('module', 'materio_flag').'/js/materio_flag.min.js');
|
||||
drupal_add_js(drupal_get_path('module', 'materio_flag').'/js/dist/materio_flag.min.js');
|
||||
}
|
||||
break;
|
||||
case 'materio_flag_mylists':
|
||||
@@ -207,7 +207,7 @@ function materio_flag_block_view($delta = '') {
|
||||
$block['subject'] = t('My '. variable_get('flag_lists_name', 'list') .'s');
|
||||
$block['content'] = t('No !listname yet. Add !listname on clicking on results star', array('!listname'=>variable_get('flag_lists_name', 'list')));
|
||||
}
|
||||
drupal_add_js(drupal_get_path('module', 'materio_flag').'/js/materio_flag.min.js');
|
||||
drupal_add_js(drupal_get_path('module', 'materio_flag').'/js/dist/materio_flag.min.js');
|
||||
}
|
||||
break;
|
||||
case 'materio_flag_mylists_nav':
|
||||
@@ -386,7 +386,7 @@ function materio_flag_get_entity_links($entity, $type, $view_mode = null){
|
||||
|
||||
if(isset($ops)){
|
||||
// dsm($ops, 'ops');
|
||||
drupal_add_js(drupal_get_path('module', 'materio_flag').'/js/materio_flag.min.js');
|
||||
drupal_add_js(drupal_get_path('module', 'materio_flag').'/js/dist/materio_flag.min.js');
|
||||
$ops['#theme'] = "materio_flag_mylists_entity_links";
|
||||
return $ops;
|
||||
}
|
||||
@@ -499,4 +499,3 @@ function template_preprocess_materio_flag_mylists_list(&$vars) {
|
||||
|
||||
// dsm($vars, '$vars');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user