LMS

Welcome to the Lobeo Module Server project. Please feel free to submit bugs related to it.
Tasklist

FS#665 - addEventListener should be attached to the datasource object

Attached to Project: LMS
Opened by Guillaume (Guillaume) - Tuesday, 24 September 2013, 08:45 GMT
Last edited by Ferdinand (PaGaisu) - Wednesday, 04 December 2013, 13:10 GMT
Task Type Feature Request
Category
Status Closed
Assigned To Ferdinand (PaGaisu)
Operating System All
Severity Low
Priority Normal
Reported Version alpha6
Due in Version alpha7
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

hi,

in js to listener a datasource resource created we have to do this:
context.addEventListener('EVENT_DATASOURCE_RESOURCE_CREATED', ...)

we should be able to do this too:

datasource.addEventListener('EVENT_DATASOURCE_RESOURCE_CREATED', ...)

do this on this 3 events:
/** event raised when a datasource resource has been created */
public static final String EVENT_DATASOURCE_RESOURCE_CREATED= "com/lobeo/lms/datasource/resource/CREATED";
/** event raised when a datasource resource has been deleted */
public static final String EVENT_DATASOURCE_RESOURCE_DELETED= "com/lobeo/lms/datasource/resource/DELETED";
/** event raised when a datasource resource has been changed */
public static final String EVENT_DATASOURCE_RESOURCE_CHANGED= "com/lobeo/lms/datasource/resource/CHANGED";
This task depends upon

Closed by  Ferdinand (PaGaisu)
Wednesday, 04 December 2013, 13:10 GMT
Reason for closing:  Implemented
Additional comments about closing:  Rev 3053 & 3054

Loading...