few fixes to analytics, checkboxes, and sweetalerts
This commit is contained in:
parent
6da0d81032
commit
4741eb91dd
|
@ -22,8 +22,8 @@
|
|||
<script src="../lib/angular-ui-router/angular-ui-router.js"></script>
|
||||
<script src="../lib/angular-toastr/angular-toastr.tpls.js"></script>
|
||||
<script src="../lib/ngclipboard/ngclipboard.js"></script>
|
||||
<script src="../lib/sweetalert/SweetAlert.js"></script>
|
||||
<script src="../lib/sweetalert/sweetalert-dev.js"></script>
|
||||
<script src="../lib/sweetalert/SweetAlert.js"></script>
|
||||
<script src="../lib/angularjs-slider/rzslider.js"></script>
|
||||
<script src="../lib/angulartics/angulartics.js"></script>
|
||||
<script src="../lib/angulartics/angulartics-ga.js"></script>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
var gaTrackingId = chrome.extension.getBackgroundPage().utilsService.analyticsId();
|
||||
var gaFunc = null;
|
||||
window.ga = function (action, param1, param2, param3, param4) {
|
||||
|
||||
window.GoogleAnalyticsObject = 'ga';
|
||||
window[window.GoogleAnalyticsObject] = function (action, param1, param2, param3, param4) {
|
||||
if (!gaFunc) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -70,6 +70,10 @@ function initUtilsService() {
|
|||
}
|
||||
|
||||
doc.on('click', '.list-section-item', function (e) {
|
||||
if (e.isDefaultPrevented && e.isDefaultPrevented.name === 'returnTrue') {
|
||||
return;
|
||||
}
|
||||
|
||||
var text = $(this).find('input, textarea').not('input[type="checkbox"], input[type="radio"], input[type="hidden"]');
|
||||
var checkbox = $(this).find('input[type="checkbox"]');
|
||||
var select = $(this).find('select');
|
||||
|
|
Loading…
Reference in New Issue