Skip to content

Commit

Permalink
refs #1725 : added - close button.
Browse files Browse the repository at this point in the history
 - TODO : Design for close button.
 - TODO : Add button on modify/delete view.
  • Loading branch information
inureyes committed Jan 17, 2015
1 parent 372dd2d commit 964c8e5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion framework/id/textcube/config.default.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
define('TEXTCUBE_NAME', 'Textcube');
define('TEXTCUBE_VERSION_ID', '1.10.2');
define('TEXTCUBE_REVISION', 'root-main-branch1.10-r35');
define('TEXTCUBE_CODENAME', ': Release Candidate 1');
define('TEXTCUBE_CODENAME', 'Attacca');
define('TEXTCUBE_VERSION', TEXTCUBE_VERSION_ID.' : '.TEXTCUBE_CODENAME);
define('TEXTCUBE_COPYRIGHT', 'Copyright © 2004-2015. Needlworks / Tatter Network Foundation. All rights reserved. Licensed under the GPL.');
define('TEXTCUBE_HOMEPAGE', 'http://www.textcube.org/');
Expand Down
3 changes: 1 addition & 2 deletions library/view/replyEditorView.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,9 @@ function confirmOverwrite() {
<form name="commentToComment" method="post" action="<?php echo ($_POST['mode'] == 'edit' ? $blogURL . '/comment/delete/' . $suri['id'] : $suri['url']);?>">
<input type="hidden" name="mode" value="commit" />
<input type="hidden" name="oldPassword" value="<?php echo isset($_POST['password']) ? $_POST['password'] : '';?>" />

<a onclick="closeDialog();" href="#" class="close-button"><span>X</span></a>
<div id="comment-reply-box">
<img src="<?php echo $service['path'] . $adminSkinSetting['skin'];?>/image/img_comment_popup_logo.gif" alt="<?php echo _text('텍스트큐브 로고');?>" />

<div class="title"><span class="text" id="title"><?php echo $pageTitle ;?></span></div>
<?php
if($viewMode == 'comment') {
Expand Down
4 changes: 0 additions & 4 deletions resources/script/common2.js
Original file line number Diff line number Diff line change
Expand Up @@ -1265,10 +1265,6 @@ function openCenteredDialog(url, dialogId, width, height) {
loadCallback: function() {
jQuery('#tcDialog iframe').contents().find('#commentSubmit').on('click', function(e) {
});
jQuery('#tcDialog iframe').contents().find('#closes').on('click', function(e) {
alert("clicked");
tcDialog.close();
});
}
});
tcDialogFrame = $('#tcDialog iframe');
Expand Down

0 comments on commit 964c8e5

Please sign in to comment.