diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2010-07-30 03:53:10 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2010-07-30 03:53:10 +0400 |
commit | 33b975d74663fa799d10496d523c8a2d1f237fdd (patch) | |
tree | 5f2db0cb004b176a8872b984a41d73b12a7ae220 /plugins/Goals/templates/GoalForm.js | |
parent | 876ea001c7f79721293b9b52917b26bb27c2080a (diff) |
Refs #1490
* all INPUT, SELECT, TEXTAREA, submit use same design across admin UI and main UI
* fixed other small ui issues
* removed brown title next to Piwik on all pages, as it was too ugly to look at
git-svn-id: http://dev.piwik.org/svn/trunk@2807 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Goals/templates/GoalForm.js')
-rw-r--r-- | plugins/Goals/templates/GoalForm.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Goals/templates/GoalForm.js b/plugins/Goals/templates/GoalForm.js index bd68ccc25d..3bbb6d80a5 100644 --- a/plugins/Goals/templates/GoalForm.js +++ b/plugins/Goals/templates/GoalForm.js @@ -2,9 +2,9 @@ function showAddNewGoal() { hideForms(); - $("#entityAddContainer").show(); + $(".entityAddContainer").show(); showCancel(); - piwikHelper.lazyScrollTo("#entityContainer", 400); + piwikHelper.lazyScrollTo(".entityContainer", 400); return false; } @@ -13,13 +13,13 @@ function showEditGoals() hideForms(); $("#entityEditContainer").show(); showCancel(); - piwikHelper.lazyScrollTo("#entityContainer", 400); + piwikHelper.lazyScrollTo(".entityContainer", 400); return false; } function hideForms() { - $("#entityAddContainer").hide(); + $(".entityAddContainer").hide(); $("#entityEditContainer").hide(); } @@ -97,7 +97,7 @@ function bindGoalForm() function getAjaxDeleteGoal(idGoal) { var ajaxRequest = piwikHelper.getStandardAjaxConf('goalAjaxLoading'); - piwikHelper.lazyScrollTo("#entityContainer", 400); + piwikHelper.lazyScrollTo(".entityContainer", 400); var parameters = {}; parameters.idSite = piwik.idSite; @@ -113,7 +113,7 @@ function getAjaxDeleteGoal(idGoal) function getAjaxAddGoal() { var ajaxRequest = piwikHelper.getStandardAjaxConf('goalAjaxLoading'); - piwikHelper.lazyScrollTo("#entityContainer", 400); + piwikHelper.lazyScrollTo(".entityContainer", 400); var parameters = {}; parameters.idSite = piwik.idSite; |