Skip to content

Commit 7e45e85

Browse files
committed
Admin:
a lookup field can be created now for the item when a lookup item is the same as the item
1 parent c4449e3 commit 7e45e85

File tree

5 files changed

+4
-358
lines changed

5 files changed

+4
-358
lines changed

AUTHORS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
jam.py was created in 2012-2016 by Andrew Yushev (yushev.ru)
1+
jam.py was created in 2012-2017 by Andrew Yushev (yushev.ru)

demo.js

-354
This file was deleted.

jam/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = (4, 0, 84)
1+
VERSION = (4, 0, 85)
22

33
def version():
44
global VERSION

jam/js/admin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3944,7 +3944,7 @@ function Events6() { // admin.catalogs.sys_items.sys_fields
39443944
}
39453945
if (field === item.f_object) {
39463946
if (item.owner === item.task.sys_items) {
3947-
lookup_item.filters.not_id.value = item.owner.id.value;
3947+
// lookup_item.filters.not_id.value = item.owner.id.value;
39483948
if (item.owner.type_id.value === item.task.item_types.TASK_TYPE) {
39493949
lookup_item.filters.task_id.value = item.owner.id.value;
39503950
}

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
version=version(),
1010
url='http://jam-py.com/',
1111
author='Andrew Yushev',
12-
author_email='yushevaa@gmail.com',
12+
author_email='andrew@jam-py.com',
1313
description=('Jam.py is an event-driven framework for the development of web database applications.'),
1414
license='BSD',
1515
packages=['jam', 'jam.db', 'jam.third_party', 'jam.third_party.werkzeug',

0 commit comments

Comments
 (0)