Guest User

Untitled

a guest
Jul 17th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. init : function (component) {
  2. // Find the component whose aura:id is "flowData"
  3. var flow = component.find("flowData");
  4. var inputVariables = [
  5. { name : "recordId", type : "String", value: component.get("v.recordId")}];
  6. flow.startFlow("New_Event",inputVariables);
  7. setTimeout(function(){
  8. var $objJson1 = $(".actionsRight .uiButton .bBody");
  9. console.log('jqueryFindtime' + $objJson1.length);
  10. $(".TopClass").click(function () {
  11. console.log('jqueryclass' +$('.TopClass.content.actionButtonBar.actionsRight.uiButton').length);
  12. var $objJson = $(".uiButton").find('button');
  13. console.log('jqueryFind' + $objJson.length);
  14. $('.TopClass.content.actionButtonBar.actionsRight.uiButton').attr("value","Save")
  15. });
  16. }, 1000);
  17. }
Add Comment
Please, Sign In to add comment