Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

How to open the loader in popup over button "Edit" on Schedule #130

Closed
waqar2012 opened this issue Jun 17, 2018 · 1 comment
Closed

How to open the loader in popup over button "Edit" on Schedule #130

waqar2012 opened this issue Jun 17, 2018 · 1 comment

Comments

@waqar2012
Copy link

My Ajax loader is not fired when i click edit button in schedule Popup over button. But when i debug its show the loader but normal running not showing the loader,
Can you help me on this?
i am also sharing the code where i am changing the code in the click event. file name aui-schedule-event-min.js
_handleSaveEvent: function(event) {
var instance = this;

		try{instance.fire(EV_SCHEDULER_EVENT_RECORDER_Loader);
		}catch(err){console.log(err);}
		showLoader();// ajax loading 
		instance.fire(
			instance.get(EVENT) ? EV_SCHEDULER_EVENT_RECORDER_EDIT : EV_SCHEDULER_EVENT_RECORDER_SAVE,
			{
				newSchedulerEvent: instance.getEventCopy()
			}
		);

		event.preventDefault();
	}
@bryceosterhaus
Copy link
Member

AlloyUI is now deprecated and it's location is being moved to liferay-frontend-projects. If this is still an issue, please re-open on that repository.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants