no colored borders for group index
This commit is contained in:
commit
2e4f09542c
3471 changed files with 597976 additions and 0 deletions
|
|
@ -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'));
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue