Added Refine.defaultEncoding to Javascript of index.vt and project.vt, for debugging.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2393 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
d419f4bbc7
commit
4a8145d624
main/webapp/modules/core
@ -612,6 +612,7 @@ function process(path, request, response) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
context.encodingJson = butterfly.toJSONString(encodings);
|
context.encodingJson = butterfly.toJSONString(encodings);
|
||||||
|
context.defaultEncoding = butterfly.toJSONString(Packages.java.nio.charset.Charset.defaultCharset().name());
|
||||||
}
|
}
|
||||||
|
|
||||||
send(request, response, path + ".vt", context);
|
send(request, response, path + ".vt", context);
|
||||||
|
@ -40,7 +40,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<script type="text/javascript" src="wirings.js"></script>
|
<script type="text/javascript" src="wirings.js"></script>
|
||||||
$scriptInjection
|
$scriptInjection
|
||||||
$styleInjection
|
$styleInjection
|
||||||
<script>Refine.encodings = $encodingJson;</script>
|
<script>Refine.encodings = $encodingJson; Refine.defaultEncoding = $defaultEncoding;</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="header">
|
<div id="header">
|
||||||
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<link rel="icon" type="image/png" href="images/favicon.png">
|
<link rel="icon" type="image/png" href="images/favicon.png">
|
||||||
$scriptInjection
|
$scriptInjection
|
||||||
$styleInjection
|
$styleInjection
|
||||||
<script>Refine.encodings = $encodingJson;</script>
|
<script>Refine.encodings = $encodingJson; Refine.defaultEncoding = $defaultEncoding;</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="header">
|
<div id="header">
|
||||||
|
Loading…
Reference in New Issue
Block a user