Index: trunk/extensions/UsabilityInitiative/ClickTracking/SpecialClickTracking.js |
— | — | @@ -29,8 +29,8 @@ |
30 | 30 | //change name |
31 | 31 | $("#user_def_alter_legend").text($("#user_def_alter_legend").data("defaultChangeText") + " " + defName); |
32 | 32 | $("#user_def_alter_legend").data("currentlyEditing", defName); |
33 | | - console.dir(userDef); |
34 | 33 | |
| 34 | + |
35 | 35 | var setContribs = function(conditionArray, contribName){ |
36 | 36 | |
37 | 37 | initialDiv = $("<div>").attr("id", contribName +"_div"); |
— | — | @@ -51,7 +51,6 @@ |
52 | 52 | initialDiv.append(textDiv); |
53 | 53 | |
54 | 54 | var i=0; |
55 | | - console.dir(conditionArray); |
56 | 55 | for( var condition in conditionArray){ |
57 | 56 | i++; |
58 | 57 | conditionDiv = $("<div>").attr("id", contribName + "_range_" + i + "_div"); |
Index: trunk/extensions/UsabilityInitiative/ClickTracking/ApiSpecialClickTracking.php |
— | — | @@ -15,8 +15,6 @@ |
16 | 16 | */ |
17 | 17 | public function execute(){ |
18 | 18 | |
19 | | - $file = fopen("/Users/nimishgautam/logs/PHPLOG.txt", "a"); |
20 | | - |
21 | 19 | |
22 | 20 | $params = $this->extractRequestParams(); |
23 | 21 | $this->validateParams( $params ); |
— | — | @@ -26,10 +24,6 @@ |
27 | 25 | $increment = $params['increment']; |
28 | 26 | $userDefString = $params['userdefs']; |
29 | 27 | |
30 | | - fwrite($file, var_export($_REQUEST, true) . "\n\n"); |
31 | | - fwrite($file, var_export($params, true). "\n\n"); |
32 | | - fclose($file); |
33 | | - |
34 | 28 | $click_data = array(); |
35 | 29 | try{ |
36 | 30 | $click_data = SpecialClickTracking::getChartData($event_id, $startdate, $enddate, $increment, $userDefString); |