View | Details | Raw Unified | Return to bug 27087
Collapse All | Expand All

(-)umc/python/udm/__init__.py (+2 lines)
 Lines 336-341    Link Here 
336
				except UDM_Error, e:
336
				except UDM_Error, e:
337
					result.append( { '$dn$' : ldap_dn, 'success' : False, 'details' : str( e ) } )
337
					result.append( { '$dn$' : ldap_dn, 'success' : False, 'details' : str( e ) } )
338
338
339
			return result
340
339
		thread = notifier.threads.Simple( 'Get', notifier.Callback( _thread, request ),
341
		thread = notifier.threads.Simple( 'Get', notifier.Callback( _thread, request ),
340
										  notifier.Callback( self._thread_finished, request ) )
342
										  notifier.Callback( self._thread_finished, request ) )
341
		thread.run()
343
		thread.run()
(-)umc/js/udm.js (-1 / +1 lines)
 Lines 1244-1250    Link Here 
1244
				// see whether all objects could be removed successfully
1244
				// see whether all objects could be removed successfully
1245
				var success = true;
1245
				var success = true;
1246
				var message = '<p>' + this._('The following object(s) could not be deleted:') + '</p><ul>';
1246
				var message = '<p>' + this._('The following object(s) could not be deleted:') + '</p><ul>';
1247
				dojo.forEach(data.result, function(iresult) {
1247
				dojo.forEach(data, function(iresult) {
1248
					if (!iresult.success) {
1248
					if (!iresult.success) {
1249
						success = false;
1249
						success = false;
1250
						message += '<li>' + iresult.$dn$ + ': ' + iresult.details;
1250
						message += '<li>' + iresult.$dn$ + ': ' + iresult.details;

Return to bug 27087