vendor/assets/javascripts/ueditor/dialogs/table/edittip.html.erb in ueditor_rails-0.0.2 vs vendor/assets/javascripts/ueditor/dialogs/table/edittip.html.erb in ueditor_rails-0.0.4
- old
+ new
@@ -1,33 +1,33 @@
<!DOCTYPE html>
<html>
<head>
- <title>表格删除提示</title>
- <script type="text/javascript" src="<%= asset_path 'ueditor/dialogs/internal.js' %>"></script>
- <style type="text/css">
- .section {
- width: 200px;
- margin: 10px auto 0;
- font-size: 14px;
- }
+ <title>表格删除提示</title>
+ <style type="text/css">
+ .section {
+ width: 200px;
+ margin: 10px auto 0;
+ font-size: 14px;
+ }
- .item {
- text-align: center;
- }
- </style>
+ .item {
+ text-align: center;
+ }
+ </style>
</head>
<body>
<div class="section">
- <div class="item">
- <label><input type="radio" id="J_delRow" name="cmd" checked/><var id="lang_delRow"></var></label>
- </div>
- <div class="item">
- <label><input type="radio" id="J_delCol" name="cmd"/><var id="lang_delCol"></var></label>
- </div>
+ <div class="item">
+ <label><input type="radio" id="J_delRow" name="cmd" checked/><var id="lang_delRow"></var></label>
+ </div>
+ <div class="item">
+ <label><input type="radio" id="J_delCol" name="cmd"/><var id="lang_delCol"></var></label>
+ </div>
</div>
+<%= javascript_include_tag 'ueditor/dialogs/internal.js' %>
<script type="text/javascript">
- dialog.onok = function () {
- $G("J_delRow").checked ? editor.execCommand("deleterow") : editor.execCommand("deletecol");
- };
+ dialog.onok = function () {
+ $G("J_delRow").checked ? editor.execCommand("deleterow") : editor.execCommand("deletecol");
+ };
</script>
</body>
</html>