Commit 5f6a0332 authored by vagelis-prokopiou's avatar vagelis-prokopiou Committed by joseph.olstad

Issue #2833697 by Vagelis: "javascript" should be "JavaScript"

parent 197a7ec2
......@@ -13,7 +13,7 @@
*/
Drupal.behaviors.mediaAdmin = {
attach: function (context) {
// Show a javascript confirmation dialog if a user has files selected and
// Show a JavaScript confirmation dialog if a user has files selected and
// they try to switch between the "Thumbnail" and "List" local tasks.
$('.tabs.secondary a').once('media-admin').bind('click', function () {
if ($(':checkbox:checked', $('.file-entity-admin-file-form')).length != 0) {
......
......@@ -129,7 +129,7 @@ function template_preprocess_media_views_view_media_browser(&$vars) {
// Run theming variables through a standard Views preprocess function.
template_preprocess_views_view_unformatted($vars);
// Add media browser javascript and CSS.
// Add media browser JavaScript and CSS.
drupal_add_js(drupal_get_path('module', 'media') . '/js/plugins/media.views.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