Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- init : function (component) {
- // Find the component whose aura:id is "flowData"
- var flow = component.find("flowData");
- var inputVariables = [
- { name : "recordId", type : "String", value: component.get("v.recordId")}];
- flow.startFlow("New_Event",inputVariables);
- setTimeout(function(){
- var $objJson1 = $(".actionsRight .uiButton .bBody");
- console.log('jqueryFindtime' + $objJson1.length);
- $(".TopClass").click(function () {
- console.log('jqueryclass' +$('.TopClass.content.actionButtonBar.actionsRight.uiButton').length);
- var $objJson = $(".uiButton").find('button');
- console.log('jqueryFind' + $objJson.length);
- $('.TopClass.content.actionButtonBar.actionsRight.uiButton').attr("value","Save")
- });
- }, 1000);
- }
Add Comment
Please, Sign In to add comment