Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
bc78d2aa
Commit
bc78d2aa
authored
Apr 23, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update static version
parent
8210f8c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
dream/platform/static/handsontable/handsontable.js
dream/platform/static/handsontable/handsontable.js
+9
-0
dream/platform/static/manifest.appcache
dream/platform/static/manifest.appcache
+1
-1
No files found.
dream/platform/static/handsontable/handsontable.js
View file @
bc78d2aa
...
@@ -18,6 +18,15 @@
...
@@ -18,6 +18,15 @@
var
gadget_element
;
var
gadget_element
;
return
this
.
getElement
().
push
(
function
(
element
)
{
return
this
.
getElement
().
push
(
function
(
element
)
{
gadget_element
=
element
;
gadget_element
=
element
;
// XXX does not belong here. We need to have an height and width to the
// handsontable element so that it loads only what is displayed.
// XXX This is also very dirty because of assumptions for DREAM page layout (.nav_container and header)
// This is to prevent Error: Security brake: Too much TRs. Please define height for your table, which will enforce scrollbars.
function
updateSize
()
{
$
(
element
).
find
(
"
.table-container
"
).
height
(
$
(
window
).
height
()
-
$
(
"
.nav_container
"
).
height
()
-
$
(
"
header
"
).
height
());
}
$
(
window
).
resize
(
updateSize
);
updateSize
();
$
(
element
).
find
(
"
.table-container
"
).
handsontable
(
"
render
"
);
$
(
element
).
find
(
"
.table-container
"
).
handsontable
(
"
render
"
);
}).
push
(
function
()
{
}).
push
(
function
()
{
// Infinite wait, until cancelled
// Infinite wait, until cancelled
...
...
dream/platform/static/manifest.appcache
View file @
bc78d2aa
CACHE MANIFEST
CACHE MANIFEST
# This manifest was generated by grunt-manifest HTML5 Cache Manifest Generator
# This manifest was generated by grunt-manifest HTML5 Cache Manifest Generator
# Time: Thu Apr 23 2015 0
6:48:50
GMT+0200 (CEST)
# Time: Thu Apr 23 2015 0
8:36:51
GMT+0200 (CEST)
CACHE:
CACHE:
dream/InputModule_viewAddDocumentDialog.js
dream/InputModule_viewAddDocumentDialog.js
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment