no colored borders for group index

This commit is contained in:
Daniel 2014-05-15 12:35:28 +02:00
commit 2e4f09542c
3471 changed files with 597976 additions and 0 deletions

View file

@ -0,0 +1,31 @@
/*!
* Piwik - Web Analytics
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
$(document).ready(function () {
$('.extendPlatform .uploadPlugin').click(function (event) {
event.preventDefault();
piwikHelper.modalConfirm('#installPluginByUpload', {
yes: function () {
window.location = link;
}
});
});
$('#uploadPluginForm').submit(function (event) {
var $zipFile = $('[name=pluginZip]');
var fileName = $zipFile.val();
if (!fileName || '.zip' != fileName.slice(-4)) {
event.preventDefault();
alert(_pk_translate('CorePluginsAdmin_NoZipFileSelected'));
}
});
});