Палсеич— (lusever) wrote in changelog,
Палсеич—
lusever
changelog

[livejournal] r17923: LJSUP-7377: Wishlist.

Committer: pkornilov
LJSUP-7377: Wishlist.
LJSUP-7551: ?\208?\161an not create a post with wish.
U   trunk/htdocs/stc/fck/editor/css/fck_editorarea.css
U   trunk/htdocs/stc/fck/editor/plugins/livejournal/fckplugin.js
Modified: trunk/htdocs/stc/fck/editor/css/fck_editorarea.css
===================================================================
--- trunk/htdocs/stc/fck/editor/css/fck_editorarea.css	2010-12-13 12:02:26 UTC (rev 17922)
+++ trunk/htdocs/stc/fck/editor/css/fck_editorarea.css	2010-12-13 13:09:04 UTC (rev 17923)
@@ -120,6 +120,16 @@
 	color: #fff;
 }
 
+lj\:wishlist,
+lj-wishlist
+{
+	display: block;
+	width: 212px;
+	height: 212px;
+	border: 1px solid #d2d2d2;
+	background: url(/img/widget/wishlist/bag_212x212.png?v=1) no-repeat 0 0;
+}
+
 lj\:raw,
 lj-raw
 {

Modified: trunk/htdocs/stc/fck/editor/plugins/livejournal/fckplugin.js
===================================================================
--- trunk/htdocs/stc/fck/editor/plugins/livejournal/fckplugin.js	2010-12-13 12:02:26 UTC (rev 17922)
+++ trunk/htdocs/stc/fck/editor/plugins/livejournal/fckplugin.js	2010-12-13 13:09:04 UTC (rev 17923)
@@ -450,6 +450,7 @@
 			.replace(/<lj-cut([^>]*)>/g, '<lj:cut$1>')
 			.replace(/<\/lj-cut>/g, '</lj:cut>')
 			.replace(/<([\/])?lj-raw>/g, '<$1lj:raw>')
+			.replace(/<([\/])?lj-wishlist>/g, '<$1lj:wishlist>')
 			.replace(/(<lj [^>]*)> /g, '$1> '); // IE merge spaces
 	}
 	else
@@ -517,6 +518,7 @@
 		html = html
 			.replace(/<lj:cut([^>]*)>/g, '<lj-cut$1>')
 			.replace(/<\/lj:cut>/g, '</lj-cut>')
+			.replace(/<([\/])?lj:wishlist>/g, '<$1lj-wishlist>')
 			.replace(/<([\/])?lj:raw>/g, '<$1lj-raw>');
 	}
 	

Tags: css, js, livejournal, lusever
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments