git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
other minor changes from slickgrid
[myslice.git]
/
plugins
/
lists
/
slicelist.py
diff --git
a/plugins/lists/slicelist.py
b/plugins/lists/slicelist.py
index
b9220db
..
adfb9bf
100644
(file)
--- a/
plugins/lists/slicelist.py
+++ b/
plugins/lists/slicelist.py
@@
-5,8
+5,13
@@
from plugins.lists.simplelist import SimpleList
class SliceList (SimpleList):
def __init__ (self, **settings):
class SliceList (SimpleList):
def __init__ (self, **settings):
- SimpleList.__init__(self, key='slice
_hrn
', **settings)
+ SimpleList.__init__(self, key='slice
.slice_hrn', classname='slicelist
', **settings)
# writing a js plugin for that would be overkill, just use SimpleList
def plugin_classname (self):
return 'SimpleList'
# writing a js plugin for that would be overkill, just use SimpleList
def plugin_classname (self):
return 'SimpleList'
+
+ def requirements (self):
+ req = SimpleList.requirements(self)
+ req['css_files'] += [ 'css/slicelist.css' ]
+ return req