Lines Matching refs:find
247 this.$el.find(".retryOptions").val("0").change();
250 this.$el.find(".retryOptions").val("-1").change();
253 this.$el.find(".retryOptions").val("*").change();
254 this.$el.find(".maxRetries").val(data.syncFailureHandler.maxRetries);
258 this.$el.find("#connectorWarningMessage .message .sync-pending").remove();
263 this.$el.find(".postRetryAction").val("script");
265 "element": this.$el.find(".postActionBlock .script"),
270 this.$el.find(".postActionBlock .script").show();
272 this.$el.find(".postRetryAction").val(data.syncFailureHandler.postRetryAction);
276 validatorsManager.bindValidators(this.$el.find("#connectorForm"));
280 this.$el.find("#connectorWarningMessage .message").append('<div class="pending-changes connector-version">' +$.t("config.messages.ConnectorMessages.connectorVersionChange", {"range": this.data.oldVersion, "version": data.connectorRef.bundleVersion}) +'</div>');
281 this.$el.find("#connectorWarningMessage").show();
367 this.$el.find("#connectorWarningMessage .message .connector-version").remove();
368 this.$el.find("#connectorWarningMessage .message .connector-pending").remove();
370 this.$el.find("#connectorErrorMessage").hide();
394 this.$el.find("#connectorWarningMessage .message .sync-pending").remove();
411 this.$el.find("#connectorWarningMessage .message .objecttype-pending").remove();
421 if(this.$el.find("#connectorWarningMessage .message .pending-changes").length === 0) {
422 this.$el.find("#connectorWarningMessage").hide();
427 var source = this.$el.find(".sources option:selected");
430 this.$el.find("#schedules").append("<div class='liveSyncScheduleContainer'></div>");
433 "element": this.$el.find("#schedules .liveSyncScheduleContainer").last(),
447 if (this.$el.find(".sources option:selected").length === 0) {
448 this.$el.find(".addLiveSync").prop('disabled', true);
449 this.$el.find(".sources").prop('disabled', true);
482 this.$el.find(".sources option[value='" + schedule.invokeContext.source + "']").remove();
484 this.$el.find("#schedules").append("<div class='liveSyncScheduleContainer'></div>");
486 "element": this.$el.find("#schedules .liveSyncScheduleContainer").last(),
505 if (this.$el.find(".sources option").length === 0) {
506 this.$el.find(".addLiveSync").prop('disabled', true);
507 this.$el.find(".sources").prop('disabled', true);
509 this.$el.find(".addLiveSync").prop('disabled', false);
510 this.$el.find(".sources").prop('disabled', false);
518 "element": this.$el.find(".postActionBlock .script"),
529 this.$el.find(".nameFieldMessage").hide();
541 this.$el.find(".sources").empty();
544 this.$el.find(".objectTypeFieldMessage").hide();
550 this.$el.find("#" + source.split("/").join("")).find(".deleteSchedule").click();
560 this.$el.find(".sources").append("<option value='" + objectName + "'>" + objectName + "</option>");
561 this.$el.find(".addLiveSync").prop('disabled', false);
562 this.$el.find(".sources").prop('disabled', false);
566 this.$el.find(".objectTypeFieldMessage").show();
567 this.$el.find(".addLiveSync").prop('disabled', true);
568 this.$el.find(".sources").prop('disabled', true);
571 this.$el.find(".objectTypeFieldMessage").hide();
572 this.$el.find(".addLiveSync").prop('disabled', true);
573 this.$el.find(".sources").prop('disabled', true);
574 this.$el.find(".nameFieldMessage").show();
582 this.$el.find(".sources").append("<option value='"+ name +"'>"+ name +"</option>");
583 this.$el.find(".addLiveSync").prop('disabled', false);
584 this.$el.find(".sources").prop('disabled', false);
590 switch (this.$el.find(".retryOptions").val()) {
592 this.$el.find(".maxRetries").val("0");
593 this.$el.find(".postActionBlock").hide();
596 this.$el.find(".maxRetries").val("-1");
597 this.$el.find(".postActionBlock").show();
600 this.$el.find(".maxRetries").val("5");
601 this.$el.find(".postActionBlock").show();
609 if (this.$el.find(".postRetryAction").val() === "script") {
610 this.$el.find(".postActionBlock .script").show();
612 this.$el.find(".postActionBlock .script").hide();
619 if(this.$el.find("#connectorWarningMessage .message .sync-pending").length === 0) {
620 this.$el.find("#connectorWarningMessage .message").append('<div class="pending-changes sync-pending">' +$.t("templates.connector.pendingSync") +'</div>');
621 this.$el.find("#connectorWarningMessage").show();
626 if(this.$el.find("#connectorWarningMessage .message .connector-pending").length === 0) {
627 this.$el.find("#connectorWarningMessage .message").append('<div class="pending-changes connector-pending">' +$.t("templates.connector.pendingConnectorChanges") +'</div>');
628 this.$el.find("#connectorWarningMessage").show();
632 //This function is to find the newest version of a connector and select it if a user provides a range
692 mergedResult.enabled = this.$el.find("#connectorEnabled").val();
733 this.$el.find("#objectTypesTab table tbody").empty();
736 this.$el.find("#objectTypesTab table tbody").append(
745 if(this.$el.find("#connectorWarningMessage .message .objecttype-pending").length === 0) {
746 this.$el.find("#connectorWarningMessage .message").append('<div class="pending-changes objecttype-pending">' +$.t("templates.connector.pendingObjectTypes") +'</div>');
747 this.$el.find("#connectorWarningMessage").show();
753 if(validatorsManager.formValidated(this.$el.find("#connectorForm"))) {
754 this.$el.find("#submitConnector").attr("disabled", false);
756 this.$el.find("#submitConnector").attr("disabled", true);
782 this.$el.find(".dropdown-menu .data-link").remove();
785 this.$el.find(".dropdown-menu .divider").before(