Skip to content

Commit

Permalink
Merge branch 'master' into Item13525
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Jul 30, 2015
2 parents 49374a6 + c40e1ae commit 77a5011
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
4 changes: 2 additions & 2 deletions NatEditPlugin/lib/Foswiki/Plugins/NatEditPlugin.pm
Expand Up @@ -30,8 +30,8 @@ BEGIN {
}
}

our $VERSION = '9.03';
our $RELEASE = '29 Jul 2015';
our $VERSION = '9.04';
our $RELEASE = '30 Jul 2015';
our $NO_PREFS_IN_TOPIC = 1;
our $SHORTDESCRIPTION = 'A Wikiwyg Editor';
our $baseWeb;
Expand Down
Expand Up @@ -2360,7 +2360,7 @@ $.NatEditor.prototype.initLinkDialog = function(elem, data) {
if (typeof(item.label) !== "undefined") {
return $("<li></li>")
.data("item.autocomplete", item)
.append("<a><table width='100%'><tr><td width='60px'><img width='50' src='"+item.img+"' /></td><td>"+item.label+"<br />"+item.comment+"</td></tr></table></a>")
.append("<a><table width='100%'><tr>"+(typeof(item.img) !== 'undefined' ? "<td width='60px'><img width='50' src='"+item.img+"' /></td>":"")+"<td>"+item.label+"<br />"+item.comment+"</td></tr></table></a>")
.appendTo(ul);
}
};
Expand Down
12 changes: 0 additions & 12 deletions core/tools/bulk_copy.pl
Expand Up @@ -487,18 +487,6 @@ sub saveTopicRev {
#debug "SAVE $web.$topic author $info->{author} rev $info->{version}\n$data\n";
return 0 if $control{check_only};

# When saving over existing revs of a topic, must make sure we
# fully delete the existing data
if ( $session->topicExists( $web, $topic ) ) {
my $demo = Foswiki::Meta->new( $session, $web, $topic );
$demo->removeFromStore();

$mo = Foswiki::Meta->new( $session, $web, $topic );
$mo->setEmbeddedStoreForm($data);

$info = $mo->get('TOPICINFO');
}

$mo->save(
author => $info->{author},
forcenewrevision => 1,
Expand Down

0 comments on commit 77a5011

Please sign in to comment.