- Patch #305920 by Gabor: invlidate JavaScript language cache when a string is edited.
parent
3ed8258ed7
commit
5ba4c53379
|
@ -856,6 +856,7 @@ function locale_translate_edit_form_submit($form, &$form_state) {
|
|||
drupal_set_message(t('The string has been saved.'));
|
||||
|
||||
// Clear locale cache.
|
||||
_locale_invalidate_js();
|
||||
cache_clear_all('locale:', 'cache', TRUE);
|
||||
|
||||
$form_state['redirect'] = 'admin/build/translate/search';
|
||||
|
|
Loading…
Reference in New Issue