API Explorer fix
authorColeman Watts <coleman@civicrm.org>
Wed, 30 Dec 2015 22:03:19 +0000 (17:03 -0500)
committerColeman Watts <coleman@civicrm.org>
Wed, 30 Dec 2015 22:03:19 +0000 (17:03 -0500)
templates/CRM/Admin/Page/APIExplorer.js
templates/CRM/Admin/Page/APIExplorer.tpl

index 7e54fff2b1abf5c2495672053f576caae4b94f5b..6425d19b34705a048d7da89aed4cfcbb3cb8c9dc 100644 (file)
           $('#api-params').html('<tr><td colspan="4" class="crm-loading-element"></td></tr>');
           $('#api-params-table thead').show();
           getFields(this);
-         buildParams();
-         checkBookKeepingEntity(entity, action);
+          buildParams();
+          checkBookKeepingEntity(entity, action);
         } else {
           $('#api-params, #api-generated pre').empty();
           $('#api-param-buttons, #api-params-table thead').hide();
index 3c49b86adb4c4e3c74f86e741a9af5c7c3b82c2e..399fb586b9b303d6b4715689b7129951f6c0d8dc 100644 (file)
         </table>
       </div>
       <div class="crm-submit-buttons">
-        <span class="crm-button button-crm-i">
-          <i class="crm-i fa-bolt"></i> <input type="submit" value="{ts}Execute{/ts}" class="crm-form-submit" accesskey="S" title="{ts}Execute API call and display results{/ts}"/>
+        <span class="crm-button crm-i-button">
+          <i class="crm-i fa-bolt"></i><input type="submit" value="{ts}Execute{/ts}" class="crm-form-submit" accesskey="S" title="{ts}Execute API call and display results{/ts}"/>
         </span>
       </div>
 <pre id="api-result" class="linenums">