madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22240: LJSUP-12562: Not delete Repost if Delete...

Committer: sbelyaev
LJSUP-12562: Not delete Repost if Deleted original entry
U   trunk/templates/Widgets/entry_chooser.tmpl
Modified: trunk/templates/Widgets/entry_chooser.tmpl
===================================================================
--- trunk/templates/Widgets/entry_chooser.tmpl	2012-06-14 12:11:49 UTC (rev 22239)
+++ trunk/templates/Widgets/entry_chooser.tmpl	2012-06-14 12:16:35 UTC (rev 22240)
@@ -21,15 +21,14 @@
 <TMPL_IF entries>
 	<ul class='b-editentries'>
 		<TMPL_LOOP entries>
-			<li id="entry_<TMPL_VAR entry_id>" class='b-editentry'<TMPL_IF entry_reposted> data-url="<TMPL_VAR entry_url>"</TMPL_IF>>
+			<li id="entry_<TMPL_VAR entry_id>" class='b-editentry'<TMPL_IF entry_reposted> data-url="<TMPL_VAR entry_url>" data-real-url='<TMPL_VAR delete_real_attr_link>'
+                </TMPL_IF>>
 				<p class='b-editentry-ctrls'>
 					<TMPL_IF entry_can_edit>
 						<a href='<TMPL_VAR edit_link ESCAPE=HTML>' class='b-editentry-edit-btn b-editentry-ctrl-btn'></a>
 					<TMPL_ELSE>
                         <TMPL_IF entry_reposted>
-    						<a href='<TMPL_VAR delete_link ESCAPE=HTML>' 
-                               data-url='<TMPL_VAR delete_real_attr_link>' 
-                              class='b-editentry-del-btn b-editentry-del-repost-btn b-editentry-ctrl-btn'></a>
+    						<a href='<TMPL_VAR delete_link ESCAPE=HTML>' class='b-editentry-del-btn b-editentry-del-repost-btn b-editentry-ctrl-btn'></a>
                         <TMPL_ELSE>
                             <a href='<TMPL_VAR delete_link ESCAPE=HTML>' class='b-editentry-edit-btn b-editentry-ctrl-btn'></a>
                         </TMPL_IF>

Tags: livejournal, madeon, sbelyaev, tmpl
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