Changeset 543085
- Timestamp:
- 05/11/2012 08:18:29 PM (14 years ago)
- Location:
- dell-cloud-connect/trunk
- Files:
-
- 2 edited
-
assets/js/dell.js (modified) (2 diffs)
-
edu-connect.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dell-cloud-connect/trunk/assets/js/dell.js
r543084 r543085 72 72 case 'addBlogRoll': 73 73 fn = addBlogRoll; 74 break; 75 case 'addBlog': 76 fn = addBlog; 74 77 break; 75 78 } … … 220 223 } 221 224 225 function addBlog() { 226 var data = { clientId: clientId, division: division, url:$('#edu_connect_text_addblog').val()} 227 log(['Adding Bolg: ', data]); 228 ajax('client/addblog',data, function(resp){ 229 log(['Blog Add Response', resp]); 230 win.location.reload(true); 231 }); 232 } 233 222 234 function setBaseUrl(newUrl) { 223 235 baseUrl = newUrl; -
dell-cloud-connect/trunk/edu-connect.php
r543083 r543085 301 301 <div> 302 302 <label for="edu_connect_text_addblog">Add a custom url to your own feed here</label></br> 303 <input type="text" placeholder="Enter URL Here" id="edu_connect_text_addblog" /><button class="button" id="edu_connect_btn_addblog" onclick="_dec.push(['addBlog', $('edu_connect_text_addblog').val()]);">Submit</button>303 <input type="text" placeholder="Enter URL Here" name="edu_connect_text_addblog" id="edu_connect_text_addblog" /><button class="button" id="edu_connect_btn_addblog" onclick="_dec.push(['addBlog', $('edu_connect_text_addblog').val()]);">Submit</button> 304 304 </div> 305 305 <h3>Blog Roll Sync</h3>
Note: See TracChangeset
for help on using the changeset viewer.