ckeditor 3.6.3

This commit is contained in:
Gaetan Delannay 2012-04-24 16:22:12 +02:00
parent af351f87d3
commit 094e571b74
217 changed files with 243 additions and 889 deletions

View file

@ -985,7 +985,7 @@ class ToolMixin(BaseMixin):
def generateUid(self, className):
'''Generates a UID for an instance of p_className.'''
name = className.replace('_', '')
name = className.split('_')[-1]
randomNumber = str(random.random()).split('.')[1]
timestamp = ('%f' % time.time()).replace('.', '')
return '%s%s%s' % (name, timestamp, randomNumber)