Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Use of JS Promise för aply and save in image edit view + some modal messages + a modal progress #561

Open
wants to merge 12 commits into
base: dev
Choose a base branch
from
3 changes: 3 additions & 0 deletions administrator/components/com_media/tmpl/file/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
// Add stylesheets
JHtml::_('stylesheet', 'media/com_media/css/mediamanager.css');

// Populate the language
$this->loadTemplate('texts');

/**
* @var JForm $form
*/
Expand Down
13 changes: 13 additions & 0 deletions administrator/components/com_media/tmpl/file/default_texts.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
/**
* @package Joomla.Administrator
* @subpackage com_media
*
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;

JText::script('COM_MEDIA_ERROR', true);
JText::script('COM_MEDIA_SERVER_ERROR', true);
JText::script('COM_MEDIA_UPDLOAD_SUCCESS', true);
Loading