replaced ch.js files by min.js"

This commit is contained in:
Bachir Soussi Chiadmi
2013-12-05 15:29:25 +01:00
parent 9af55b03bd
commit 7230dafd5f
5 changed files with 762 additions and 5 deletions

View File

@@ -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-ck.js');
drupal_add_js(drupal_get_path('module', 'materio_flag').'/js/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-ck.js');
drupal_add_js(drupal_get_path('module', 'materio_flag').'/js/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-ck.js');
drupal_add_js(drupal_get_path('module', 'materio_flag').'/js/materio_flag.min.js');
$ops['#theme'] = "materio_flag_mylists_entity_links";
return $ops;
}