remotecontrol.js   remotecontrol.js 
skipping to change at line 136 skipping to change at line 136
self.remove(); self.remove();
} }
} }
}); });
} }
// load plugin list, and disable/load elements if required // load plugin list, and disable/load elements if required
function loadPlugins() { function loadPlugins() {
$.ajax({ $.ajax({
//we somehow should make sure this always finishes before the U
I starts loading
//or we may have a race condition
//probably make the mainui wait on an event from this, and all
the other UIs on the mainui
async: false, //TODO fix so this can be removed
url: '/api/main/plugins', url: '/api/main/plugins',
type: 'GET', type: 'GET',
dataType: 'json', dataType: 'json',
success: function(data) { success: function(data) {
//when the document is ready (can be now), process plugin i nfo //when the document is ready (can be now), process plugin i nfo
$(function() { $(function() {
processPluginInfo(data); processPluginInfo(data);
}); });
}, },
error: function(xhr, status, errorThrown) { error: function(xhr, status, errorThrown) {
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/