Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-05-05 02:55:35 +0400
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-05-05 02:55:35 +0400
commitcb346a4546a53bdc5054129d3331470cb3a447fc (patch)
tree155a924d3e86b7869c89022e3fbf19ca7be2ce2f /plugins/SitesManager/templates
parent92da6b8181282800f4f28cae77d776b67540b477 (diff)
- ADDED search field below data tables is now using the regular expression syntax. For example, a search for "google|yahoo" would match all rows containing "google" or "yahoo". All search strings containing any of the special characters from this list: . \ + * ? [ ^ ] $ ( ) { } = ! < > | must be escaped with a back slash, eg. if you want to search for keywords containing "piwik!" you would search for "piwik\!".
- ADDED new configuration option: default number of rows returned in API responses "API_datatable_default_limit = 50" - REMOVED the automatic generic filters. The limit and sort and safe decode are applied by each module when necessary. - removed exact match filter. Now all searches are using regular expressions syntax. Exact match can be done using ^exact search here$ - fixed notice when natural sort on a non existing column - fixed CSV export for datatable_array - clarified code for plotting multiple lines in an evolution chart - FIXED #624 Added icon "save as image" below all graphs (next to the Export icon) - moved all JS functions into the piwikHelper static class - added example in ExampleUI plugin to plot only visits from google and yahoo! in 4 lines of code - added message when flash is disabled and graph not showing, linking to piwik faq. - added expressInstall.swf feature
Diffstat (limited to 'plugins/SitesManager/templates')
-rw-r--r--plugins/SitesManager/templates/SitesManager.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/SitesManager/templates/SitesManager.js b/plugins/SitesManager/templates/SitesManager.js
index e21e7a2e2d..172340b9b3 100644
--- a/plugins/SitesManager/templates/SitesManager.js
+++ b/plugins/SitesManager/templates/SitesManager.js
@@ -1,7 +1,7 @@
function getDeleteSiteAJAX( idSite )
{
- var ajaxRequest = getStandardAjaxConf();
- toggleAjaxLoading();
+ var ajaxRequest = piwikHelper.getStandardAjaxConf();
+ piwikHelper.toggleAjaxLoading();
var parameters = new Object;
parameters.module = 'API';
@@ -17,8 +17,8 @@ function getDeleteSiteAJAX( idSite )
function getAddSiteAJAX( row )
{
- var ajaxRequest = getStandardAjaxConf();
- toggleAjaxLoading();
+ var ajaxRequest = piwikHelper.getStandardAjaxConf();
+ piwikHelper.toggleAjaxLoading();
var parameters = new Object;
var siteName = $(row).find('input[@id=siteadd_name]').val();
@@ -41,8 +41,8 @@ function getAddSiteAJAX( row )
function getUpdateSiteAJAX( row )
{
- var ajaxRequest = getStandardAjaxConf();
- toggleAjaxLoading();
+ var ajaxRequest = piwikHelper.getStandardAjaxConf();
+ piwikHelper.toggleAjaxLoading();
var siteName = $(row).find('input[@id=siteName]').val();
var idSite = $(row).children('#idSite').html();
@@ -65,7 +65,7 @@ function getUpdateSiteAJAX( row )
$(document).ready( function() {
$('.addRowSite').click( function() {
- ajaxHideError();
+ piwikHelper.ajaxHideError();
$(this).toggle();
var numberOfRows = $('table#editSites')[0].rows.length;
@@ -82,13 +82,13 @@ $(document).ready( function() {
;
$('#'+newRowId).keypress( submitSiteOnEnter );
$('.addsite').click( function(){ $.ajax( getAddSiteAJAX($('tr#'+newRowId)) ); } );
- $('.cancel').click(function() { ajaxHideError(); $(this).parents('tr').remove(); $('.addRowSite').toggle(); });
+ $('.cancel').click(function() { piwikHelper.ajaxHideError(); $(this).parents('tr').remove(); $('.addRowSite').toggle(); });
} );
// when click on deleteuser, the we ask for confirmation and then delete the user
$('.deleteSite').click( function() {
- ajaxHideError();
+ piwikHelper.ajaxHideError();
var idRow = $(this).attr('id');
var nameToDelete = $(this).parent().parent().find('#siteName').html();
var idsiteToDelete = $(this).parent().parent().find('#idSite').html();
@@ -101,7 +101,7 @@ $(document).ready( function() {
var alreadyEdited = new Array;
$('.editSite')
.click( function() {
- ajaxHideError();
+ piwikHelper.ajaxHideError();
var idRow = $(this).attr('id');
if(alreadyEdited[idRow]==1) return;
alreadyEdited[idRow] = 1;