moved a couple of translatable strings from js include file to translatable view
This commit is contained in:
parent
d150b8e8b1
commit
8ba3737b3b
|
@ -16,20 +16,6 @@
|
|||
document.getElementById(theID).style.display = "none"
|
||||
}
|
||||
|
||||
function commentOpen(obj,id) {
|
||||
if(obj.value == 'Comment') {
|
||||
obj.value = '';
|
||||
obj.className = "comment-edit-text-full";
|
||||
openMenu("comment-edit-submit-wrapper-" + id);
|
||||
}
|
||||
}
|
||||
function commentClose(obj,id) {
|
||||
if(obj.value == '') {
|
||||
obj.value = 'Comment';
|
||||
obj.className="comment-edit-text-empty";
|
||||
closeMenu("comment-edit-submit-wrapper-" + id);
|
||||
}
|
||||
}
|
||||
|
||||
var src = null;
|
||||
var prev = null;
|
||||
|
@ -137,10 +123,6 @@
|
|||
|
||||
}
|
||||
|
||||
function confirmDelete() {
|
||||
return confirm("Delete this item?");
|
||||
}
|
||||
|
||||
function imgbright(node) {
|
||||
$(node).attr("src",$(node).attr("src").replace('hide','show'));
|
||||
$(node).css('width',24);
|
||||
|
|
|
@ -7,5 +7,24 @@
|
|||
<![endif]-->
|
||||
<script type="text/javascript" src="$baseurl/include/jquery.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/include/main.js" ></script>
|
||||
<script>
|
||||
|
||||
function confirmDelete() { return confirm("Delete this item?"); }
|
||||
function commentOpen(obj,id) {
|
||||
if(obj.value == 'Comment') {
|
||||
obj.value = '';
|
||||
obj.className = "comment-edit-text-full";
|
||||
openMenu("comment-edit-submit-wrapper-" + id);
|
||||
}
|
||||
}
|
||||
function commentClose(obj,id) {
|
||||
if(obj.value == '') {
|
||||
obj.value = 'Comment';
|
||||
obj.className="comment-edit-text-empty";
|
||||
closeMenu("comment-edit-submit-wrapper-" + id);
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user