Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
plugin_dbui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Authenticating with a password
with git over http
works again
. More information
here
.
Show more breadcrumbs
w2pext
plugin_dbui
Commits
88330a3e
Commit
88330a3e
authored
14 years ago
by
Renaud Le Gac
Browse files
Options
Downloads
Patches
Plain Diff
The MathJAx rendering for grid is defined in the model.
parent
c17c98b9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
static/scripts/grid_2.js
+3
-9
3 additions, 9 deletions
static/scripts/grid_2.js
with
3 additions
and
9 deletions
static/scripts/grid_2.js
+
3
−
9
View file @
88330a3e
...
...
@@ -21,7 +21,7 @@ mainCfg = function(){
};
/**
* main function to instan
c
iate the grid
* main function to instan
t
iate the grid
* @param {Object} provider
* @param {Object} response
*/
...
...
@@ -32,15 +32,9 @@ mainGrid = function(provider, response){
// console.log("Grid Model");
// console.dir(cfg);
// inst
enc
iate the grid
// inst
ant
iate the grid
var
grid
=
new
App
.
grid
.
Grid
(
cfg
);
grid
.
getView
().
on
(
'
refresh
'
,
function
(){
console
.
debug
(
'
onRefresh
'
);
MathJax
.
Hub
.
PreProcess
();
MathJax
.
Hub
.
Process
();
})
// the viewport to hold the grid
// using all space available in the browser
var
vp
=
new
Ext
.
Viewport
({
...
...
@@ -57,7 +51,7 @@ Ext.onReady(function(){
Ext
.
QuickTips
.
init
();
// load the MathJax libray
ri
// load the MathJax libra
r
y
App
.
withMathJax
?
App
.
loadMathJax
(
mainCfg
)
:
mainCfg
();
});
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment