Javascript for Episerver 7.5 cms

ShortcutDialogViewModel (constructor)

Location

epi-cms/contentediting/viewmodel/ShortcutDialogViewModel

Extends

Properties

_attrPairNames

Used across all instances a hash to cache attribute names and their getter and setter names.

contentLink

The content link id

contentName

The name for the content

enableExternalLink

Determines if should be possible to set an external link

enableOpenIn

Determines if should be possible to select the target frame for a link

enableSaveButton

Determines if the save button should be enabled

enableShortcutLink

Determines if should be possible to set the shortcut link

intermediateValue

Changes to the model are stored on this property

savedValue

Initial value

value

The value

Methods

public inherited method _changeAttrValue ( name , value )

Internal helper for directly changing an attribute value.

Parameters

public inherited method _get ( name , names )

Private function that does a get based off a hash of names

Parameters

public inherited method _set ( _b , _c )

Parameters

public method _setIntermediateValueAttr ( value )

Set the intermediate value for the model

Parameters

public method _setSavedValueAttr ( value )

Sets the saved value

Parameters

public inherited method get ( name )

Get a property on a Stateful instance.

Parameters

public method postscript ( )


public method save ( )

Stores the value in the 'savedValue' property


public inherited method set ( name , value )

Set a property on a Stateful instance

Parameters

public inherited method watch ( name , callback )

Watches a property for changes

Parameters