Take out "config reload" button from dashboard
diff --git a/resources/com/google/enterprise/adaptor/resources/dashboard.js b/resources/com/google/enterprise/adaptor/resources/dashboard.js
index 83c9f5c..3b213a9 100755
--- a/resources/com/google/enterprise/adaptor/resources/dashboard.js
+++ b/resources/com/google/enterprise/adaptor/resources/dashboard.js
@@ -281,6 +281,7 @@
});
}
+// TODO(myk): button removed - code to follow suit
function checkConfig() {
var sending = $('#gaf-check-config-sending');
sending.show();
@@ -420,6 +421,5 @@
rpc('encodeSensitiveValue', ["", "ENCRYPTED"], isEncryptionSupportedCallback);
$('#gaf-incremental-feed-push').click(startIncrementalFeedPush);
$('#gaf-start-feed-push').click(startFeedPush);
- $('#gaf-check-config').click(checkConfig);
$('#gaf-sec-runenc').click(encodeSensitiveValue);
});
diff --git a/resources/com/google/enterprise/adaptor/resources/index.html b/resources/com/google/enterprise/adaptor/resources/index.html
index e16d632..6a6eb0d 100644
--- a/resources/com/google/enterprise/adaptor/resources/index.html
+++ b/resources/com/google/enterprise/adaptor/resources/index.html
@@ -27,7 +27,6 @@
<div class="action-btn-grp">
<button class="g-button g-button-primary" id="gaf-incremental-feed-push">Run Incremental Push</button>
<button class="g-button g-button-primary" id="gaf-start-feed-push">Start Feed Push</button>
- <button class="g-button g-button-primary" id="gaf-check-config">Apply Updated Config</button>
</div>
<div class="notifications">
<span id="gaf-incremental-feed-push-sending" style="display: none">Sending request...</span>