Changeset 2552


Ignore:
Timestamp:
07/19/10 18:58:01 (19 months ago)
Author:
mattlevine
Message:
  1. Adding jquery-ui elements to mura admin.
Location:
branches/5.2/www/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2/www/admin/js/feed.js

    r2319 r2552  
    109109        } 
    110110 
     111function confirmImport(){ 
     112         
     113         
     114        jQuery("#alertDialogMessage").html('Import Selections?'); 
     115        jQuery("#alertDialog").dialog({ 
     116                        resizable: false, 
     117                        height:140, 
     118                        modal: true, 
     119                        buttons: { 
     120                                'YES': function() { 
     121                                        jQuery(this).dialog('close'); 
     122                                        submitForm(document.forms.contentForm,'Import'); 
     123                                        }, 
     124                                'NO': function() { 
     125                                        jQuery(this).dialog('close'); 
     126                                } 
     127                        } 
     128                }); 
    111129 
     130        return false;    
     131} 
  • branches/5.2/www/admin/view/vFeed/dsp_import1.cfm

    r2546 r2552  
    9191                </cfcase> 
    9292        </cfswitch> 
    93         <cfoutput><a class="submit" href="javascript:;" onclick="if(confirm('Import Selections?')){return submitForm(document.forms.contentForm,'Import');}else{return false;};"><span>#application.rbFactory.getKeyValue(session.rb,'collections.import')#</span></a></cfoutput> 
     93        <cfoutput><a class="submit" href="javascript:;" onclick="return confirmImport();"><span>#application.rbFactory.getKeyValue(session.rb,'collections.import')#</span></a></cfoutput> 
    9494        <input type="hidden" name="action" value="import" /> 
    9595</form> 
Note: See TracChangeset for help on using the changeset viewer.